16 lines
342 B
Python
16 lines
342 B
Python
#!/usr/bin/env python
|
|
import os
|
|
|
|
Import("env")
|
|
|
|
# Define the context constant for module build
|
|
env.Append(CPPDEFINES=["REDOT_MODULE_BUILD"])
|
|
|
|
# Sources to include in the module
|
|
module_sources = Glob("*.cpp")
|
|
|
|
env.add_source_files(env.modules_sources, module_sources)
|
|
|
|
# Include paths for the module
|
|
env.Append(CPPPATH=[Dir("."), Dir("src")])
|