2023-06-05 12:43:27 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
Import("env")
|
|
|
|
Import("env_modules")
|
|
|
|
|
|
|
|
env_navigation = env_modules.Clone()
|
|
|
|
|
|
|
|
# Pandemonium source files
|
|
|
|
|
|
|
|
module_obj = []
|
|
|
|
|
|
|
|
env_navigation.add_source_files(module_obj, "*.cpp")
|
2023-06-06 07:48:19 +02:00
|
|
|
env_navigation.add_source_files(module_obj, "geometry_parser_2d/*.cpp")
|
|
|
|
env_navigation.add_source_files(module_obj, "geometry_parser_3d/*.cpp")
|
2023-06-05 12:43:27 +02:00
|
|
|
|
|
|
|
env.modules_sources += module_obj
|
2023-06-06 19:02:33 +02:00
|
|
|
|
|
|
|
# Temp TODO Remove
|
|
|
|
if env_navigation.msvc:
|
|
|
|
env_navigation.Append(CXXFLAGS=['/std:c++17'])
|
|
|
|
else:
|
|
|
|
env_navigation.Append(CXXFLAGS=['-std=c++17'])
|