summaryrefslogtreecommitdiff
path: root/src/miranda32
diff options
context:
space:
mode:
authorVitaly Svyastyn <protomors@gmail.com>2017-10-31 13:32:16 +0200
committerGeorge Hazan <ghazan@miranda.im>2017-10-31 14:32:16 +0300
commit4d9bf8032dd659e091394d688b6a2c59bf222240 (patch)
tree517f405276c562044b8f7f32a9475e4bac7cf94e /src/miranda32
parent9437834f8f4d3abf32a8629747385d666c652084 (diff)
Initial CMake support. (#1013)
* CMake files for building application and core library. * CMake files for core plugins. Now it runs! * CMake files for some plugins.
Diffstat (limited to 'src/miranda32')
-rw-r--r--src/miranda32/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/miranda32/CMakeLists.txt b/src/miranda32/CMakeLists.txt
new file mode 100644
index 0000000000..1ca94b3a1d
--- /dev/null
+++ b/src/miranda32/CMakeLists.txt
@@ -0,0 +1,7 @@
+file(GLOB SOURCES "src/*.h" "src/*.cpp" "res/*.rc")
+add_executable(miranda32 ${SOURCES})
+include_directories(.)
+set_target_properties(miranda32 PROPERTIES
+ LINK_FLAGS "/SUBSYSTEM:WINDOWS"
+ RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>"
+) \ No newline at end of file