2021-03-16 18:10:25 +01:00
|
|
|
#!python
|
|
|
|
|
|
|
|
# Create the environment and create a Compilation Database for use in VSCodium
|
2021-03-16 19:53:16 +01:00
|
|
|
env = Environment(
|
|
|
|
CCFLAGS=['-std=c++17', '-Wall', '-O0', '-g'],
|
|
|
|
tools=['default', 'compilation_db'])
|
|
|
|
|
2021-03-16 18:10:25 +01:00
|
|
|
env.CompilationDatabase()
|
|
|
|
|
2021-03-16 19:53:16 +01:00
|
|
|
env.Append(LIBS=['glfw', 'dl'])
|
|
|
|
|
|
|
|
env.Program('program.out', [Glob('*.cpp', 'Util/*.cpp'), 'Util/glad.c'])
|