summaryrefslogtreecommitdiff
path: root/src/miranda32/CMakeLists.txt
blob: 2375cb76d6c0267c5577ef036f3a68f2a408c8fa (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"
	RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>"
)