summaryrefslogtreecommitdiff
path: root/cmake/icons.cmake
blob: 102bfd7f62d9b33b15c2db88f00c95df62975abe (plain)
1
2
3
4
5
6
7
file(GLOB SOURCES "src/*.h" "res/*.rc")
add_library(${TARGET} SHARED ${SOURCES})
set_target_properties(${TARGET} PROPERTIES
	LINK_FLAGS "/SUBSYSTEM:WINDOWS /NOENTRY"
	RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>/Icons"
)
set_target_properties(${TARGET} PROPERTIES LINKER_LANGUAGE "CXX")