Layered tile map build script setup.

This commit is contained in:
Relintai 2024-03-02 08:17:20 +01:00
parent 962f1cb188
commit ac27c37a57
2 changed files with 13 additions and 7 deletions

View File

@ -1,11 +1,11 @@
Import('env') Import('env')
Import("env_modules")
env.add_source_files(env.modules_sources,"register_types.cpp") env_layered_tile_map = env_modules.Clone()
env.add_source_files(env.modules_sources,"tile_map.cpp")
env.add_source_files(env.modules_sources,"tile_set.cpp") env_layered_tile_map.add_source_files(env.modules_sources, "geometry_parser/*.cpp")
env.add_source_files(env.modules_sources, "geometry_parser/*.cpp") env_layered_tile_map.add_source_files(env.modules_sources, "*.cpp")
if env["tools"]: if env["tools"]:
env.add_source_files(env.modules_sources, "tile_map_editor_plugin.cpp") env.add_source_files(env.modules_sources, "editor/*.cpp")
env.add_source_files(env.modules_sources, "tile_set_editor_plugin.cpp")

View File

@ -7,8 +7,14 @@ def configure(env):
def get_doc_classes(): def get_doc_classes():
return [ return [
"LayeredTileData",
"LayeredTileMap", "LayeredTileMap",
"LayeredTileSet" "LayeredTileMapLayerGroup",
"LayeredTileMapPattern",
"LayeredTileSet",
"LayeredTileSetAtlasSource",
"LayeredTileSetScenesCollectionSource",
"LayeredTileSetSource",
] ]
def get_doc_path(): def get_doc_path():