Debian Codegraph @

modules/cvtt/SCsub

raw symbols SCIP
1 #!/usr/bin/env python
2 from misc.utility.scons_hints import *
3
4 Import("env")
5 Import("env_modules")
6
7 env_cvtt = env_modules.Clone()
8
9 # Thirdparty source files
10
11 thirdparty_obj = []
12
13 thirdparty_dir = "#thirdparty/cvtt/"
14 thirdparty_sources = [
15 "ConvectionKernels_API.cpp",
16 "ConvectionKernels_ETC.cpp",
17 "ConvectionKernels_BC67.cpp",
18 "ConvectionKernels_IndexSelector.cpp",
19 "ConvectionKernels_BC6H_IO.cpp",
20 "ConvectionKernels_S3TC.cpp",
21 "ConvectionKernels_BC7_PrioData.cpp",
22 "ConvectionKernels_SingleFile.cpp",
23 "ConvectionKernels_BCCommon.cpp",
24 "ConvectionKernels_Util.cpp",
25 ]
26
27 thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
28
29 env_cvtt.Prepend(CPPPATH=[thirdparty_dir])
30
31 env_thirdparty = env_cvtt.Clone()
32 env_thirdparty.disable_warnings()
33 env_thirdparty.add_source_files(thirdparty_obj, thirdparty_sources)
34 env.modules_sources += thirdparty_obj
35
36 # Godot source files
37
38 module_obj = []
39
40 env_cvtt.add_source_files(module_obj, "*.cpp")
41 env.modules_sources += module_obj
42
43 # Needed to force rebuilding the module files when the thirdparty library is updated.
44 env.Depends(module_obj, thirdparty_obj)