wscript: move build env setup to main wscript

This commit is contained in:
Alibek Omarov
2019-03-25 01:25:44 +03:00
parent 70abee3e28
commit 17f719558c
7 changed files with 5 additions and 26 deletions

View File

@@ -5,7 +5,6 @@
from waflib import Logs
import os
import sys
from fwgslib import get_subproject_name
top = '.'
@@ -17,9 +16,6 @@ def configure(conf):
conf.load('winres')
def build(bld):
bld.load_envs()
bld.env = bld.all_envs[get_subproject_name(bld)]
source = ['game.cpp']
includes = '. ../common'
libs = []