aboutsummaryrefslogtreecommitdiff
path: root/cmake/platforms/windows.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/platforms/windows.cmake')
-rw-r--r--cmake/platforms/windows.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmake/platforms/windows.cmake b/cmake/platforms/windows.cmake
index 377b05d..d4b9092 100644
--- a/cmake/platforms/windows.cmake
+++ b/cmake/platforms/windows.cmake
@@ -37,11 +37,14 @@ function(get_platform_puzzle_extra_source_files OUTVAR NAME)
set(${OUTVAR} ${CMAKE_SOURCE_DIR}/puzzles.rc PARENT_SCOPE)
endfunction()
+function(set_platform_gui_target_properties TARGET)
+ set_target_properties(${TARGET} PROPERTIES WIN32_EXECUTABLE ON)
+endfunction()
+
function(set_platform_puzzle_target_properties NAME TARGET)
if(DEFINED ICO_DIR AND EXISTS ${ICO_DIR}/${NAME}.ico)
target_compile_definitions(${TARGET} PRIVATE ICON_FILE=\"${ICO_DIR}/${NAME}.ico\")
endif()
- set_target_properties(${TARGET} PROPERTIES WIN32_EXECUTABLE ON)
endfunction()
function(build_platform_extras)