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 /plugins | |
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 'plugins')
-rw-r--r-- | plugins/Db3x_mmap/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/Db3x_mmap/CMakeLists.txt b/plugins/Db3x_mmap/CMakeLists.txt index eee167c6a9..d30807aa46 100644 --- a/plugins/Db3x_mmap/CMakeLists.txt +++ b/plugins/Db3x_mmap/CMakeLists.txt @@ -1,3 +1,8 @@ file(GLOB SOURCES "src/*.h" "src/*.cpp" "src/dbtool/*.cpp" "res/*.rc") set(TARGET Dbx_mmap) + +# Just a workaround. Better to fix plugins that do not compile with this option. +# Even Microsoft recommends to use standard exception handling. +string(REPLACE "/EHsc" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) + include(${CMAKE_SOURCE_DIR}/cmake/plugin.cmake)
\ No newline at end of file |