Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
15 lines
334 B
Python
15 lines
334 B
Python
#!/usr/bin/env python
|
|
from misc.utility.scons_hints import *
|
|
|
|
Import("env")
|
|
Import("env_modules")
|
|
|
|
env_zip = env_modules.Clone()
|
|
|
|
# Module files
|
|
env_zip.add_source_files(env.modules_sources, "*.cpp")
|
|
|
|
if env["tests"]:
|
|
env_zip.Append(CPPDEFINES=["TESTS_ENABLED"])
|
|
env_zip.add_source_files(env.modules_sources, "./tests/*.cpp")
|