2020-01-03 16:57:25 +01:00
|
|
|
import os
|
|
|
|
|
2023-05-27 22:08:19 +02:00
|
|
|
Import("env")
|
2019-10-20 21:19:00 +02:00
|
|
|
|
2020-01-03 16:57:25 +01:00
|
|
|
module_env = env.Clone()
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
"register_types.cpp",
|
|
|
|
"texture_packer.cpp",
|
|
|
|
"rectpack2D/pack.cpp",
|
|
|
|
"texture_merger.cpp",
|
|
|
|
"texture_resource/packer_image_resource.cpp",
|
|
|
|
"layers/texture_layer_merger.cpp",
|
|
|
|
]
|
2019-10-22 11:53:49 +02:00
|
|
|
|
2023-05-27 22:08:19 +02:00
|
|
|
module_env.add_source_files(env.modules_sources, sources)
|
2019-10-22 11:53:49 +02:00
|
|
|
|
2023-05-27 22:08:19 +02:00
|
|
|
if env.editor_build:
|
|
|
|
module_env.add_source_files(env.modules_sources, "editor/*.cpp")
|