summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
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 /CMakeLists.txt
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 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000000..fd22000a6e
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,13 @@
+cmake_minimum_required (VERSION 2.8)
+
+project (Miranda)
+
+set_directory_properties(PROPERTIES COMPILE_DEFINITIONS "_UNICODE;UNICODE;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_WARNINGS")
+link_directories(${CMAKE_SOURCE_DIR}/libs/win32)
+include_directories(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/include/msapi ${CMAKE_SOURCE_DIR}/plugins/ExternalAPI)
+set(COMMON_LIBS winmm.lib Wtsapi32.lib netapi32.lib pdh.lib shlwapi.lib Strmiids.lib gdiplus.lib dbghelp.lib Setupapi.lib msimg32.lib comctl32.lib ws2_32.lib UxTheme.lib)
+
+add_subdirectory(libs)
+add_subdirectory(src)
+add_subdirectory(plugins)
+add_subdirectory(protocols) \ No newline at end of file