|
|
|
@ -4,6 +4,8 @@
@@ -4,6 +4,8 @@
|
|
|
|
|
|
|
|
|
|
from waflib import Logs |
|
|
|
|
import os |
|
|
|
|
import sys |
|
|
|
|
from fwgslib import get_subproject_name |
|
|
|
|
|
|
|
|
|
top = '.' |
|
|
|
|
|
|
|
|
@ -12,18 +14,13 @@ def options(opt):
@@ -12,18 +14,13 @@ def options(opt):
|
|
|
|
|
return |
|
|
|
|
|
|
|
|
|
def configure(conf): |
|
|
|
|
if(conf.env.SINGLE_BINARY): |
|
|
|
|
if conf.env.SINGLE_BINARY: |
|
|
|
|
return |
|
|
|
|
|
|
|
|
|
# check for dedicated server build |
|
|
|
|
if not conf.env.DEDICATED: |
|
|
|
|
if conf.env.DEST_OS == 'win32': |
|
|
|
|
conf.load('winres') |
|
|
|
|
conf.check(lib='user32') |
|
|
|
|
conf.check(lib='shell32') |
|
|
|
|
|
|
|
|
|
def get_subproject_name(ctx): |
|
|
|
|
return os.path.basename(os.path.realpath(str(ctx.path))) |
|
|
|
|
|
|
|
|
|
def build(bld): |
|
|
|
|
if bld.env.SINGLE_BINARY: |
|
|
|
|