mirror of
https://github.com/Relintai/texture_packer.git
synced 2024-11-12 10:15:16 +01:00
20 lines
410 B
Plaintext
20 lines
410 B
Plaintext
import os
|
|
|
|
Import("env")
|
|
|
|
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",
|
|
]
|
|
|
|
module_env.add_source_files(env.modules_sources, sources)
|
|
|
|
if env.editor_build:
|
|
module_env.add_source_files(env.modules_sources, "editor/*.cpp")
|