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 /libs/libjson | |
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 'libs/libjson')
-rw-r--r-- | libs/libjson/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/libjson/CMakeLists.txt b/libs/libjson/CMakeLists.txt index e76677a636..62b68e2eb2 100644 --- a/libs/libjson/CMakeLists.txt +++ b/libs/libjson/CMakeLists.txt @@ -1,4 +1,9 @@ -file(GLOB SOURCES "src/*.h" "src/*.cpp" "src/libjson.def") +file(GLOB SOURCES "src/*.h" "src/*.cpp") +if(CMAKE_CL_64) + list(APPEND SOURCES "src/libjson64.def") +else() + list(APPEND SOURCES "src/libjson.def") +endif() set(TARGET libjson) include(${CMAKE_SOURCE_DIR}/cmake/lib.cmake) |