mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-20 01:34:04 +01:00
2f0a76c664
Refactor qml check job to use python env Fix cmake copy for godot editor
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()
|