mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-09-02 00:29:48 +02:00
19 lines
566 B
CMake
19 lines
566 B
CMake
# SPDX-License-Identifier: LicenseRef-EliasSteurerTachiom OR AGPL-3.0-only
|
|
project(Tools LANGUAGES CXX)
|
|
|
|
file(GLOB PYTHON *.py)
|
|
|
|
set(FILES Installer/installscript.qs Installer/package.xml)
|
|
|
|
add_custom_target(
|
|
${PROJECT_NAME}
|
|
SOURCES ${FILES} ${PYTHON}
|
|
COMMENT "Dummy target to list these files in the IDE")
|
|
|
|
set(GODOT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../ThirdParty/Godot")
|
|
|
|
if(WIN32 AND ${SCREENPLAY_GODOT})
|
|
# Todo: Add Linux and Mac support
|
|
configure_file(${GODOT_PATH}/${GODOT_EDITOR_NAME} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/ COPYONLY)
|
|
endif()
|