diff options
author | Vitaly Svyastyn <protomors@gmail.com> | 2017-11-05 19:33:01 +0600 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-05 16:33:01 +0300 |
commit | 52921a9e13484319df2d4f1153521f3f5e12b932 (patch) | |
tree | 5c6b99a6e59958778ab1cdfa61a0848d3211eb0a /protocols/WhatsApp | |
parent | db6f3932affcc9397c9fbed99d344388a585add5 (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/WhatsApp')
-rw-r--r-- | protocols/WhatsApp/CMakeLists.txt | 4 | ||||
-rw-r--r-- | protocols/WhatsApp/proto_whatsapp/CMakeLists.txt | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/protocols/WhatsApp/CMakeLists.txt b/protocols/WhatsApp/CMakeLists.txt new file mode 100644 index 0000000000..cbca8a0ba4 --- /dev/null +++ b/protocols/WhatsApp/CMakeLists.txt @@ -0,0 +1,4 @@ +file(GLOB SOURCES "src/*.h" "src/WhatsAPI++/*.h" "src/*.cpp" "src/OpenSSL/*.c" "src/WhatsAPI++/*.cpp" "res/*.rc") +set(TARGET WhatsApp) +include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake) +add_subdirectory(proto_whatsapp)
\ No newline at end of file diff --git a/protocols/WhatsApp/proto_whatsapp/CMakeLists.txt b/protocols/WhatsApp/proto_whatsapp/CMakeLists.txt new file mode 100644 index 0000000000..5193619806 --- /dev/null +++ b/protocols/WhatsApp/proto_whatsapp/CMakeLists.txt @@ -0,0 +1,2 @@ +set(TARGET Proto_WhatsApp) +include(${CMAKE_SOURCE_DIR}/cmake/icons.cmake)
\ No newline at end of file |