Restructure to engine library with test executables
This commit is contained in:
parent
b778751254
commit
bb85fab65f
@ -5,6 +5,11 @@ env = DefaultEnvironment(tools=['default', 'compilation_db'])
|
||||
env.CompilationDatabase()
|
||||
|
||||
env.Append(CCFLAGS=["-Wall", "-Wextra", "-Werror", "-pedantic"])
|
||||
env.Append(CPPPATH=['.', 'include'])
|
||||
|
||||
# Build the output program
|
||||
Program('vector.out', Glob('*.cpp'))
|
||||
# Build the test programs
|
||||
catch_cpp = "test/catch_amalgamated.cpp"
|
||||
Program('vector-test.out', [catch_cpp, 'test/vector-test.cpp'])
|
||||
|
||||
# Build the library
|
||||
SharedLibrary('ged', Glob('cpp/*.cpp'))
|
||||
|
0
cpp/Logger.cpp
Normal file
0
cpp/Logger.cpp
Normal file
BIN
cpp/Logger.os
Normal file
BIN
cpp/Logger.os
Normal file
Binary file not shown.
0
include/Logger.h
Normal file
0
include/Logger.h
Normal file
Loading…
x
Reference in New Issue
Block a user