summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu
diff options
context:
space:
mode:
authorVitaly Svyastyn <protomors@gmail.com>2017-11-05 19:33:01 +0600
committerGeorge Hazan <ghazan@miranda.im>2017-11-05 16:33:01 +0300
commit52921a9e13484319df2d4f1153521f3f5e12b932 (patch)
tree5c6b99a6e59958778ab1cdfa61a0848d3211eb0a /protocols/Gadu-Gadu
parentdb6f3932affcc9397c9fbed99d344388a585add5 (diff)
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.
Diffstat (limited to 'protocols/Gadu-Gadu')
-rw-r--r--protocols/Gadu-Gadu/CMakeLists.txt40
-rw-r--r--protocols/Gadu-Gadu/proto_gg/CMakeLists.txt2
2 files changed, 42 insertions, 0 deletions
diff --git a/protocols/Gadu-Gadu/CMakeLists.txt b/protocols/Gadu-Gadu/CMakeLists.txt
new file mode 100644
index 0000000000..9ab4671f22
--- /dev/null
+++ b/protocols/Gadu-Gadu/CMakeLists.txt
@@ -0,0 +1,40 @@
+file(GLOB SOURCES "src/*.h" "src/libgadu/*.h" "res/*.rc"
+"src/avatar.cpp"
+"src/core.cpp"
+"src/dialogs.cpp"
+"src/dynstuff.cpp"
+"src/filetransfer.cpp"
+"src/stdafx.cpp"
+"src/gg_proto.cpp"
+"src/groupchat.cpp"
+"src/icolib.cpp"
+"src/image.cpp"
+"src/import.cpp"
+"src/keepalive.cpp"
+"src/links.cpp"
+"src/oauth.cpp"
+"src/ownerinfo.cpp"
+"src/popups.cpp"
+"src/services.cpp"
+"src/sessions.cpp"
+"src/gg.cpp"
+"src/token.cpp"
+"src/userutils.cpp"
+"src/libgadu/common.cpp"
+"src/libgadu/dcc.cpp"
+"src/libgadu/dcc7.cpp"
+"src/libgadu/events.cpp"
+"src/libgadu/http.cpp"
+"src/libgadu/libgadu.cpp"
+"src/libgadu/pthread.cpp"
+"src/libgadu/pubdir.cpp"
+"src/libgadu/pubdir50.cpp"
+"src/libgadu/resolver.cpp"
+"src/libgadu/sha1.cpp"
+"src/libgadu/win32.cpp"
+)
+set(TARGET GG)
+include_directories("src/libgadu")
+include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake)
+set_target_properties(${TARGET} PROPERTIES COMPILE_DEFINITIONS "GG_EXPORTS")
+add_subdirectory(proto_gg) \ No newline at end of file
diff --git a/protocols/Gadu-Gadu/proto_gg/CMakeLists.txt b/protocols/Gadu-Gadu/proto_gg/CMakeLists.txt
new file mode 100644
index 0000000000..5b26e158f6
--- /dev/null
+++ b/protocols/Gadu-Gadu/proto_gg/CMakeLists.txt
@@ -0,0 +1,2 @@
+set(TARGET Proto_GG)
+include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake) \ No newline at end of file