forked from GodotECS/godex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SCsub
28 lines (23 loc) · 1.06 KB
/
SCsub
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env python
import methods_ecs
Import("env")
Import("env_modules")
env_ecs = env_modules.Clone()
if env_ecs["float"] == "64":
env_ecs.Append(CPPDEFINES=["BT_USE_DOUBLE_PRECISION=1"])
methods_ecs.generate_system_structs()
methods_ecs.generate_system_exe_funcs()
methods_ecs.generate_system_dispatcher_exe_funcs()
methods_ecs.generate_temporary_system_exe_funcs()
# Godex source files
env_ecs.add_source_files(env.modules_sources, "utils/*.cpp")
env_ecs.add_source_files(env.modules_sources, "memory/*.cpp")
env_ecs.add_source_files(env.modules_sources, "components/*.cpp")
env_ecs.add_source_files(env.modules_sources, "spawners/*.cpp")
env_ecs.add_source_files(env.modules_sources, "iterators/*.cpp")
env_ecs.add_source_files(env.modules_sources, "storage/*.cpp")
env_ecs.add_source_files(env.modules_sources, "systems/*.cpp")
env_ecs.add_source_files(env.modules_sources, "databags/*.cpp")
env_ecs.add_source_files(env.modules_sources, "world/*.cpp")
env_ecs.add_source_files(env.modules_sources, "pipeline/*.cpp")
env_ecs.add_source_files(env.modules_sources, "*.cpp")