summaryrefslogtreecommitdiff
path: root/cmake/lib.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/lib.cmake')
-rw-r--r--cmake/lib.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/lib.cmake b/cmake/lib.cmake
new file mode 100644
index 0000000000..7c94c732e3
--- /dev/null
+++ b/cmake/lib.cmake
@@ -0,0 +1,7 @@
+add_library(${TARGET} SHARED ${SOURCES})
+set_target_properties(${TARGET} PROPERTIES
+ LINK_FLAGS "/SUBSYSTEM:WINDOWS"
+ SUFFIX ".mir"
+ RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>/Libs"
+)
+target_link_libraries(${TARGET} ${COMMON_LIBS}) \ No newline at end of file