begin adding gui sources; build .c files
This commit is contained in:
parent
f56af33fc7
commit
64049a6b80
1339
src/gui/gl3w.c
Normal file
1339
src/gui/gl3w.c
Normal file
File diff suppressed because it is too large
Load Diff
1235
src/gui/gl3w.h
Normal file
1235
src/gui/gl3w.h
Normal file
File diff suppressed because it is too large
Load Diff
4544
src/gui/glcorearb.h
Normal file
4544
src/gui/glcorearb.h
Normal file
File diff suppressed because it is too large
Load Diff
12
wscript
12
wscript
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user