-
Notifications
You must be signed in to change notification settings - Fork 1
/
SCsub
21 lines (17 loc) · 851 Bytes
/
SCsub
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env python
Import('env')
Import("env_modules")
module_env = env_modules.Clone()
#################################################
# And include our module source
module_obj = []
module_env.Prepend(CPPPATH=["#modules/openxr"])
module_env.add_source_files(module_obj, "*.cpp")
module_env.add_source_files(module_obj, "#modules/openxr/action_map/openxr_defs.cpp")
module_env.add_source_files(module_obj, "#modules/openxr/action_map/openxr_action.cpp")
module_env.add_source_files(module_obj, "#modules/openxr/action_map/openxr_action_map.cpp")
module_env.add_source_files(module_obj, "#modules/openxr/action_map/openxr_action_set.cpp")
module_env.add_source_files(module_obj, "#modules/openxr/action_map/openxr_interaction_profile.cpp")
env.modules_sources += module_obj
if env.editor_build:
SConscript("#modules/openxr/editor/SCsub")