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.CompilationDatabase()
|
||||||
|
|
||||||
env.Append(CCFLAGS=["-Wall", "-Wextra", "-Werror", "-pedantic"])
|
env.Append(CCFLAGS=["-Wall", "-Wextra", "-Werror", "-pedantic"])
|
||||||
|
env.Append(CPPPATH=['.', 'include'])
|
||||||
|
|
||||||
# Build the output program
|
# Build the test programs
|
||||||
Program('vector.out', Glob('*.cpp'))
|
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
@ -377,4 +377,4 @@ SCENARIO("Constructors and Destructors are called as expected", "[vector]") {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user