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