Refact
This commit is contained in:
@@ -14,6 +14,11 @@ if(NOT DEFINED DUSK_TARGET_SYSTEM)
|
||||
# set(DUSK_TARGET_SYSTEM "psp")
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED DUSK_TARGET_GAME)
|
||||
set(DUSK_TARGET_GAME "minesweeper")
|
||||
# set(DUSK_TARGET_GAME "rpg")
|
||||
endif()
|
||||
|
||||
# Prep cache
|
||||
set(DUSK_CACHE_TARGET "dusk-target")
|
||||
|
||||
@@ -98,7 +103,7 @@ target_include_directories(${DUSK_TARGET_NAME} PUBLIC
|
||||
add_custom_target(DUSK_ASSETS_BUILT ALL
|
||||
COMMAND
|
||||
${Python3_EXECUTABLE} ${DUSK_TOOLS_DIR}/assetstool/main.py
|
||||
--assets ${DUSK_ASSETS_DIR}
|
||||
--assets ${DUSK_GAME_ASSETS_DIR}
|
||||
--build-type wad
|
||||
--output-assets ${DUSK_BUILT_ASSETS_DIR}
|
||||
--output-file ${DUSK_BUILD_DIR}/dusk.dsk
|
||||
|
Reference in New Issue
Block a user