From 4859b560b6a7b0ea7490b1dceab417deb55ce4a0 Mon Sep 17 00:00:00 2001 From: protomors Date: Sat, 2 Jun 2018 10:01:43 +0300 Subject: CMake: build file for cmstub. --- CMakeLists.txt | 1 + build/CMakeLists.txt | 1 + build/cmplugin/CMakeLists.txt | 6 ++++++ 3 files changed, 8 insertions(+) create mode 100644 build/CMakeLists.txt create mode 100644 build/cmplugin/CMakeLists.txt 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 -- cgit v1.2.3