-
Notifications
You must be signed in to change notification settings - Fork 6
/
SCsub
24 lines (18 loc) · 1004 Bytes
/
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
#!/usr/bin/env python
Import('env')
Import('env_modules')
env_lottie = env_modules.Clone()
env_lottie.Prepend(CPPPATH=['.'])
env_lottie.Prepend(CPPPATH=['thirdparty/rlottie/inc'])
env_lottie.Prepend(CPPPATH=['thirdparty/rlottie/src/lottie'])
env_lottie.Prepend(CPPPATH=['thirdparty/rlottie/src/vector'])
env_lottie.Prepend(CPPPATH=['thirdparty/rlottie/src/vector/freetype'])
env_lottie.Prepend(CPPPATH=['thirdparty/rlottie/src/vector/stb'])
env_lottie.Append(CPPDEFINES=["RLOTTIE_BUILD"])
env_thirdparty = env_lottie.Clone()
env_thirdparty.disable_warnings()
env_thirdparty.add_source_files(env.modules_sources, "thirdparty/rlottie/src/lottie/*.cpp")
env_thirdparty.add_source_files(env.modules_sources, "thirdparty/rlottie/src/vector/*.cpp")
env_thirdparty.add_source_files(env.modules_sources, "thirdparty/rlottie/src/vector/stb/*.cpp")
env_thirdparty.add_source_files(env.modules_sources, "thirdparty/rlottie/src/vector/freetype/*.cpp")
env_lottie.add_source_files(env.modules_sources, "*.cpp")