mirror of
https://git.planet-casio.com/Slyvtt/Collab_RPG.git
synced 2024-12-29 13:03:43 +01:00
Cleaned CMakeLists.txt
This commit is contained in:
parent
53b0ddf750
commit
d84fd7f886
1 changed files with 0 additions and 26 deletions
|
@ -18,28 +18,6 @@ set(COLORMODE_cg EGA64)
|
||||||
|
|
||||||
fxconv_declare_converters(assets/converters.py)
|
fxconv_declare_converters(assets/converters.py)
|
||||||
|
|
||||||
add_custom_command(
|
|
||||||
COMMENT "Convert Tiled TMX map to usable JSON file"
|
|
||||||
COMMAND tiled --export-tileset json tilesetnpp.tsx tilesetnpp.json
|
|
||||||
COMMAND find | grep .*.tmx | sed 's/.tmx//g' | xargs -l bash -c 'tiled --export-map json $$0.tmx $$0.json'
|
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/assets/
|
|
||||||
|
|
||||||
OUTPUT "${CMAKE_CURRENT_LIST_DIR}/assets/level0.json"
|
|
||||||
OUTPUT "${CMAKE_CURRENT_LIST_DIR}/assets/level1.json"
|
|
||||||
OUTPUT "${CMAKE_CURRENT_LIST_DIR}/assets/level2.json"
|
|
||||||
OUTPUT "${CMAKE_CURRENT_LIST_DIR}/assets/level3.json"
|
|
||||||
# if several levels/maps are created, just copy the previous line and change the .json name with the new level/map
|
|
||||||
DEPENDS assets/converters.py
|
|
||||||
assets/tileset.png
|
|
||||||
assets/tilesetnpp.tsx
|
|
||||||
assets/level0.tmx
|
|
||||||
assets/level1.tmx
|
|
||||||
assets/level2.tmx
|
|
||||||
assets/level3.tmx
|
|
||||||
# if several levels/maps are created, just copy the previous line and change the .json name with the new level/map
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
set(SOURCES
|
set(SOURCES
|
||||||
src/main.c
|
src/main.c
|
||||||
src/map.c
|
src/map.c
|
||||||
|
@ -51,10 +29,6 @@ set(SOURCES
|
||||||
)
|
)
|
||||||
# Shared assets, fx-9860G-only assets and fx-CG-50-only assets
|
# Shared assets, fx-9860G-only assets and fx-CG-50-only assets
|
||||||
set(ASSETS
|
set(ASSETS
|
||||||
#assets/level0.json
|
|
||||||
#assets/level1.json
|
|
||||||
#assets/level2.json
|
|
||||||
#assets/level3.json
|
|
||||||
assets/WorldRPG.world
|
assets/WorldRPG.world
|
||||||
# ...
|
# ...
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue