summaryrefslogtreecommitdiff
path: root/src/miranda32/CMakeLists.txt
blob: d42e159b691c28348f916f61ea526ce555cd4602 (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>"
)