From 52921a9e13484319df2d4f1153521f3f5e12b932 Mon Sep 17 00:00:00 2001
From: Vitaly Svyastyn <protomors@gmail.com>
Date: Sun, 5 Nov 2017 19:33:01 +0600
Subject: More CMake (#1016)

* Generate version information before build.

* Removed /EHsc from compile options.

* CMake files for the rest of protocols.

* CMake 64 bit build.

* CMake: precompiled headers.
---
 protocols/Twitter/CMakeLists.txt               | 5 +++++
 protocols/Twitter/proto_twitter/CMakeLists.txt | 2 ++
 2 files changed, 7 insertions(+)
 create mode 100644 protocols/Twitter/CMakeLists.txt
 create mode 100644 protocols/Twitter/proto_twitter/CMakeLists.txt

(limited to 'protocols/Twitter')

diff --git a/protocols/Twitter/CMakeLists.txt b/protocols/Twitter/CMakeLists.txt
new file mode 100644
index 0000000000..6f43f21232
--- /dev/null
+++ b/protocols/Twitter/CMakeLists.txt
@@ -0,0 +1,5 @@
+file(GLOB SOURCES "src/*.h" "src/*.cpp" "res/*.rc")
+set(TARGET Twitter)
+include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake)
+target_link_libraries(${TARGET} libjson)
+add_subdirectory(proto_twitter)
\ No newline at end of file
diff --git a/protocols/Twitter/proto_twitter/CMakeLists.txt b/protocols/Twitter/proto_twitter/CMakeLists.txt
new file mode 100644
index 0000000000..f7b45f0ca7
--- /dev/null
+++ b/protocols/Twitter/proto_twitter/CMakeLists.txt
@@ -0,0 +1,2 @@
+set(TARGET Proto_Twitter)
+include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake)
\ No newline at end of file
-- 
cgit v1.2.3