mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-29 23:27:12 +01:00
15 lines
387 B
Plaintext
15 lines
387 B
Plaintext
Import('env')
|
|
|
|
module_env = env.Clone()
|
|
|
|
|
|
module_env.add_source_files(env.modules_sources,"*.cpp")
|
|
module_env.add_source_files(env.modules_sources,"lib/src/*.cpp")
|
|
|
|
# TODO this won't work as a custom module like this!
|
|
module_env.Prepend(CPPPATH=["#modules/clipper2/lib/include"])
|
|
|
|
if env.msvc:
|
|
module_env.Append(CXXFLAGS=['/std:c++17'])
|
|
else:
|
|
module_env.Append(CXXFLAGS=['-std=c++17']) |