move source files under src
This commit is contained in:
parent
9bad7a1d86
commit
33bf113f26
7
wscript
7
wscript
@ -7,7 +7,7 @@ def configure(conf):
|
||||
conf.load("compiler_c compiler_cxx")
|
||||
conf.env.INCLUDES += ["libs/glcxx/include"]
|
||||
conf.env.INCLUDES += ["libs/glm"]
|
||||
conf.env.INCLUDES += ["."]
|
||||
conf.env.INCLUDES += ["src"]
|
||||
conf.env.DEFINES += ['''GLCXX_GL_INCLUDE="GL3/gl3w.h"''']
|
||||
conf.env.CXXFLAGS += ["-Wall"]
|
||||
conf.env.CXXFLAGS += ["-std=gnu++14"]
|
||||
@ -21,9 +21,10 @@ def configure(conf):
|
||||
Popen(["git", "submodule", "update", "--init"]).wait()
|
||||
|
||||
def build(bld):
|
||||
sources = ["app.cc"] + \
|
||||
sources = \
|
||||
bld.path.ant_glob("src/**/*.cc") + \
|
||||
bld.path.ant_glob("libs/glcxx/src/**/*.cpp") + \
|
||||
bld.path.ant_glob("GL3/**/*.c")
|
||||
bld.path.ant_glob("src/GL3/**/*.c")
|
||||
|
||||
libs = []
|
||||
if "MINGW" in os.popen("uname").read():
|
||||
|
Loading…
x
Reference in New Issue
Block a user