begin adding gui sources; build .c files

This commit is contained in:
josh committed 2016-06-20 21:32:45 -04:00
1 parent f56af33fc7
commit 64049a6b80
4 files changed
+7125 -5

No files matched your search

+1339
View File
File diff suppressed because it is too large. Load diff
+1235
View File
File diff suppressed because it is too large. Load diff
+4544
View File
File diff suppressed because it is too large. Load diff
+7 -5
View File
@@ -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"]