begin adding gui sources; build .c files
This commit is contained in:
1 parent
f56af33fc7
commit
64049a6b80
4 files changed
+7125
-5
No files matched your search
+1339
File diff suppressed because it is too large.
Load diff
+1235
File diff suppressed because it is too large.
Load diff
+4544
File diff suppressed because it is too large.
Load diff
@@ -2,17 +2,19 @@ import platform
|
||||
import re
|
||||
|
||||
def options(opt):
|
||||
opt.load("compiler_cxx")
|
||||
opt.load("compiler_c compiler_cxx")
|
||||
|
||||
def configure(conf):
|
||||
conf.load("compiler_cxx")
|
||||
conf.load("compiler_c compiler_cxx")
|
||||
conf.check(header_name = "getopt.h")
|
||||
|
||||
def build(bld):
|
||||
bld(features = "cxx cxxprogram",
|
||||
bld(features = "c cprogram cxx cxxprogram",
|
||||
target = "jes",
|
||||
source = bld.path.ant_glob("src/**/*.cc"),
|
||||
cxxflags = ["-Wall", "-std=gnu++14"])
|
||||
source = bld.path.ant_glob(["src/**/*.cc", "src/**/*.c"]),
|
||||
cxxflags = ["-Wall", "-std=gnu++14"],
|
||||
lib = ["dl", "GL"])
|
||||
|
||||
test_libs = []
|
||||
if re.search(r'linux', platform.platform(), re.IGNORECASE):
|
||||
test_libs += ["pthread"]
|
||||
|
||||
Reference in new issue
Block a user