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/Discord/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 protocols/Discord/CMakeLists.txt (limited to 'protocols/Discord/CMakeLists.txt') diff --git a/protocols/Discord/CMakeLists.txt b/protocols/Discord/CMakeLists.txt new file mode 100644 index 0000000000..a227eff6df --- /dev/null +++ b/protocols/Discord/CMakeLists.txt @@ -0,0 +1,5 @@ +file(GLOB SOURCES "src/*.h" "src/*.cpp" "res/*.rc") +set(TARGET Discord) +include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake) +target_link_libraries(${TARGET} Zlib libjson) +add_subdirectory(proto_discord) \ No newline at end of file -- cgit v1.2.3