blob: e04ff988a316f8711a88cebdfaddb5122a6178ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
file(GLOB SOURCES "src/*.h" "src/*.cpp" "res/*.rc")
if(CMAKE_CL_64)
set(TARGET "Miranda64")
else()
set(TARGET "Miranda32")
endif()
add_executable(${TARGET} ${SOURCES})
include_directories(.)
set_target_properties(${TARGET} PROPERTIES
LINK_FLAGS "/SUBSYSTEM:WINDOWS /DELAYLOAD:ucrtbased.dll /DELAYLOAD:vcruntime140.dll"
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>"
)
|