From 52921a9e13484319df2d4f1153521f3f5e12b932 Mon Sep 17 00:00:00 2001 From: Vitaly Svyastyn 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/Gadu-Gadu/CMakeLists.txt | 40 +++++++++++++++++++++++++++++ protocols/Gadu-Gadu/proto_gg/CMakeLists.txt | 2 ++ 2 files changed, 42 insertions(+) create mode 100644 protocols/Gadu-Gadu/CMakeLists.txt create mode 100644 protocols/Gadu-Gadu/proto_gg/CMakeLists.txt (limited to 'protocols/Gadu-Gadu') 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 -- cgit v1.2.3