summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--build/CMakeLists.txt1
-rw-r--r--build/cmplugin/CMakeLists.txt6
3 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e76b31a297..650ecd3303 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,6 +12,7 @@ else()
endif()
include_directories(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/include/msapi ${CMAKE_SOURCE_DIR}/plugins/ExternalAPI)
+add_subdirectory(build)
add_subdirectory(libs)
add_subdirectory(src)
add_subdirectory(plugins)
diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt
new file mode 100644
index 0000000000..b98966cde7
--- /dev/null
+++ b/build/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory(cmplugin) \ No newline at end of file
diff --git a/build/cmplugin/CMakeLists.txt b/build/cmplugin/CMakeLists.txt
new file mode 100644
index 0000000000..5e4bed2e2a
--- /dev/null
+++ b/build/cmplugin/CMakeLists.txt
@@ -0,0 +1,6 @@
+file(GLOB SOURCES "cmstub.cpp")
+set(TARGET cmstub)
+add_library(${TARGET} ${SOURCES})
+set_target_properties(${TARGET} PROPERTIES
+ LINK_FLAGS "/SUBSYSTEM:WINDOWS"
+) \ No newline at end of file