Basic window.
This commit is contained in:
19
tools/assetstool/CMakeLists.txt
Normal file
19
tools/assetstool/CMakeLists.txt
Normal file
@ -0,0 +1,19 @@
|
||||
# Copyright (c) 2023 Dominic Masters
|
||||
#
|
||||
# This software is released under the MIT License.
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
find_package(Python3 REQUIRED COMPONENTS Interpreter)
|
||||
|
||||
add_custom_target(duskassets
|
||||
COMMAND
|
||||
${Python3_EXECUTABLE}
|
||||
${DUSK_TOOLS_DIR}/assetstool/assetstool.py
|
||||
--input=${DUSK_ASSETS_BUILD_DIR}
|
||||
--output=${DUSK_BUILD_DIR}/dusk.tar
|
||||
COMMENT "Bundling assets..."
|
||||
USES_TERMINAL
|
||||
DEPENDS ${DUSK_ASSETS}
|
||||
)
|
||||
|
||||
add_dependencies(${DUSK_TARGET_NAME} duskassets)
|
Reference in New Issue
Block a user