summaryrefslogtreecommitdiff
path: root/cmake/core.cmake
blob: 7c8677d4e144d16d9d3e6f8db65126f7a37caac0 (plain)
1
2
3
4
5
6
7
8
include_directories(.)
file(GLOB SOURCES "src/*.h" "src/*.cpp" "res/*.rc")
add_library(${TARGET} SHARED ${SOURCES})
set_target_properties(${TARGET} PROPERTIES
	LINK_FLAGS "/SUBSYSTEM:WINDOWS"
	RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>/Core"
)
target_link_libraries(${TARGET} ${COMMON_LIBS})