summaryrefslogtreecommitdiff
path: root/protocols
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 /protocols
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 'protocols')
-rw-r--r--protocols/CMakeLists.txt4
-rw-r--r--protocols/FacebookRM/CMakeLists.txt5
-rw-r--r--protocols/FacebookRM/proto_facebook/CMakeLists.txt2
-rw-r--r--protocols/JabberG/CMakeLists.txt7
-rw-r--r--protocols/JabberG/jabber_xstatus/CMakeLists.txt2
-rw-r--r--protocols/JabberG/proto_jabber/CMakeLists.txt2
-rw-r--r--protocols/MSN/CMakeLists.txt5
-rw-r--r--protocols/MSN/proto_msn/CMakeLists.txt2
-rw-r--r--protocols/SkypeWeb/CMakeLists.txt6
-rw-r--r--protocols/SkypeWeb/proto_conn_skype/CMakeLists.txt2
-rw-r--r--protocols/SkypeWeb/proto_skype/CMakeLists.txt2
11 files changed, 39 insertions, 0 deletions
diff --git a/protocols/CMakeLists.txt b/protocols/CMakeLists.txt
new file mode 100644
index 0000000000..0c4b8d722e
--- /dev/null
+++ b/protocols/CMakeLists.txt
@@ -0,0 +1,4 @@
+add_subdirectory(FacebookRM)
+add_subdirectory(JabberG)
+add_subdirectory(MSN)
+add_subdirectory(SkypeWeb) \ No newline at end of file
diff --git a/protocols/FacebookRM/CMakeLists.txt b/protocols/FacebookRM/CMakeLists.txt
new file mode 100644
index 0000000000..6441c53332
--- /dev/null
+++ b/protocols/FacebookRM/CMakeLists.txt
@@ -0,0 +1,5 @@
+file(GLOB SOURCES "src/*.h" "src/requests/*.h" "src/*.cpp" "res/*.rc" "${CMAKE_SOURCE_DIR}/utils/std_string_utils.cpp")
+set(TARGET Facebook)
+include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake)
+target_link_libraries(${TARGET} libjson)
+add_subdirectory(proto_facebook) \ No newline at end of file
diff --git a/protocols/FacebookRM/proto_facebook/CMakeLists.txt b/protocols/FacebookRM/proto_facebook/CMakeLists.txt
new file mode 100644
index 0000000000..be5f194172
--- /dev/null
+++ b/protocols/FacebookRM/proto_facebook/CMakeLists.txt
@@ -0,0 +1,2 @@
+set(TARGET Proto_Facebook)
+include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake) \ No newline at end of file
diff --git a/protocols/JabberG/CMakeLists.txt b/protocols/JabberG/CMakeLists.txt
new file mode 100644
index 0000000000..257a4cd8ae
--- /dev/null
+++ b/protocols/JabberG/CMakeLists.txt
@@ -0,0 +1,7 @@
+file(GLOB SOURCES "src/*.h" "src/*.cpp" "res/*.rc")
+set(TARGET Jabber)
+include_directories(${CMAKE_SOURCE_DIR}/libs/libaxolotl/src)
+include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake)
+target_link_libraries(${TARGET} Zlib libaxolotl libeay32.lib ssleay32.lib)
+add_subdirectory(jabber_xstatus)
+add_subdirectory(proto_jabber) \ No newline at end of file
diff --git a/protocols/JabberG/jabber_xstatus/CMakeLists.txt b/protocols/JabberG/jabber_xstatus/CMakeLists.txt
new file mode 100644
index 0000000000..9a16f9320c
--- /dev/null
+++ b/protocols/JabberG/jabber_xstatus/CMakeLists.txt
@@ -0,0 +1,2 @@
+set(TARGET xStatus_Jabber)
+include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake) \ No newline at end of file
diff --git a/protocols/JabberG/proto_jabber/CMakeLists.txt b/protocols/JabberG/proto_jabber/CMakeLists.txt
new file mode 100644
index 0000000000..855e7aa315
--- /dev/null
+++ b/protocols/JabberG/proto_jabber/CMakeLists.txt
@@ -0,0 +1,2 @@
+set(TARGET Proto_Jabber)
+include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake) \ No newline at end of file
diff --git a/protocols/MSN/CMakeLists.txt b/protocols/MSN/CMakeLists.txt
new file mode 100644
index 0000000000..a3984234ef
--- /dev/null
+++ b/protocols/MSN/CMakeLists.txt
@@ -0,0 +1,5 @@
+file(GLOB SOURCES "src/*.h" "src/skylogin/*.h" "src/*.cpp" "src/*.c" "src/skylogin/*.c" "res/*.rc")
+set(TARGET MSN)
+include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake)
+target_link_libraries(${TARGET} libeay32.lib)
+add_subdirectory(proto_msn) \ No newline at end of file
diff --git a/protocols/MSN/proto_msn/CMakeLists.txt b/protocols/MSN/proto_msn/CMakeLists.txt
new file mode 100644
index 0000000000..7df814f1c5
--- /dev/null
+++ b/protocols/MSN/proto_msn/CMakeLists.txt
@@ -0,0 +1,2 @@
+set(TARGET Proto_MSN)
+include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake) \ No newline at end of file
diff --git a/protocols/SkypeWeb/CMakeLists.txt b/protocols/SkypeWeb/CMakeLists.txt
new file mode 100644
index 0000000000..739bbe8aec
--- /dev/null
+++ b/protocols/SkypeWeb/CMakeLists.txt
@@ -0,0 +1,6 @@
+file(GLOB SOURCES "src/*.h" "src/requests/*.h" "src/requests/asm/*.h" "src/*.cpp" "res/*.rc")
+set(TARGET SkypeWeb)
+include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake)
+target_link_libraries(${TARGET} libjson)
+add_subdirectory(proto_conn_skype)
+add_subdirectory(proto_skype) \ No newline at end of file
diff --git a/protocols/SkypeWeb/proto_conn_skype/CMakeLists.txt b/protocols/SkypeWeb/proto_conn_skype/CMakeLists.txt
new file mode 100644
index 0000000000..14b4eac82c
--- /dev/null
+++ b/protocols/SkypeWeb/proto_conn_skype/CMakeLists.txt
@@ -0,0 +1,2 @@
+set(TARGET Proto_conn_Skype)
+include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake) \ No newline at end of file
diff --git a/protocols/SkypeWeb/proto_skype/CMakeLists.txt b/protocols/SkypeWeb/proto_skype/CMakeLists.txt
new file mode 100644
index 0000000000..9112f38771
--- /dev/null
+++ b/protocols/SkypeWeb/proto_skype/CMakeLists.txt
@@ -0,0 +1,2 @@
+set(TARGET Proto_Skype)
+include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake) \ No newline at end of file