summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorprotomors <protomors@gmail.com>2018-06-02 10:01:43 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-07-12 18:09:25 +0300
commit4859b560b6a7b0ea7490b1dceab417deb55ce4a0 (patch)
tree6ac0ab06ed5703503101e873d5bcf81dce135bb1 /build
parentcaf5664f8f3d0835e1a9aa467f85e3dd01b4f790 (diff)
CMake: build file for cmstub.
Diffstat (limited to 'build')
-rw-r--r--build/CMakeLists.txt1
-rw-r--r--build/cmplugin/CMakeLists.txt6
2 files changed, 7 insertions, 0 deletions
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