summaryrefslogtreecommitdiff
path: root/cmake/icons.cmake
blob: c03630ef495c8c0d67a501c18ac612ab047978b2 (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"
)
target_link_libraries(${TARGET} ${COMMON_LIBS})