16 lines
473 B
Python
16 lines
473 B
Python
#!python
|
|
|
|
# Create the environment and create a Compilation Database for use in VSCodium
|
|
env = DefaultEnvironment(tools=['default', 'compilation_db'])
|
|
env.CompilationDatabase()
|
|
|
|
env.Append(CCFLAGS=["-Wall", "-Wextra", "-Werror", "-pedantic"])
|
|
env.Append(CPPPATH=['.', 'include'])
|
|
|
|
# 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'))
|