2023-01-19 10:33:49 +01:00
|
|
|
# SPDX-License-Identifier: LicenseRef-EliasSteurerTachiom OR AGPL-3.0-only
|
2021-12-03 15:30:17 +01:00
|
|
|
project(Tools LANGUAGES CXX)
|
|
|
|
|
|
|
|
file(GLOB PYTHON *.py)
|
|
|
|
|
2022-04-04 18:09:45 +02:00
|
|
|
set(FILES Installer/installscript.qs Installer/package.xml)
|
2021-12-03 15:30:17 +01:00
|
|
|
|
|
|
|
add_custom_target(
|
|
|
|
${PROJECT_NAME}
|
|
|
|
SOURCES ${FILES} ${PYTHON}
|
|
|
|
COMMENT "Dummy target to list these files in the IDE")
|
2023-09-28 15:55:11 +02:00
|
|
|
|
|
|
|
set(GODOT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/Apps/Godot")
|
2023-10-13 06:15:21 +02:00
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
# Todo: Add Linux and Mac support
|
|
|
|
configure_file(${GODOT_PATH}/${GODOT_EDITOR_NAME} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/ COPYONLY)
|
2023-11-01 12:28:35 +01:00
|
|
|
endif()
|