2021-03-04 19:37:40 +01:00
|
|
|
#!python
|
|
|
|
|
|
|
|
# Create the environment and create a Compilation Database for use in VSCodium
|
|
|
|
env = DefaultEnvironment(tools=['default', 'compilation_db'])
|
|
|
|
env.CompilationDatabase()
|
|
|
|
|
2021-03-15 13:50:07 +01:00
|
|
|
env.Append(CCFLAGS=["-Wall", "-Wextra", "-Werror", "-pedantic"])
|
|
|
|
|
2021-03-04 19:37:40 +01:00
|
|
|
# Build the output program
|
|
|
|
Program('vector.out', Glob('*.cpp'))
|