diff options
Diffstat (limited to 'contrib/google-ced/CMakeLists.txt')
-rw-r--r-- | contrib/google-ced/CMakeLists.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/contrib/google-ced/CMakeLists.txt b/contrib/google-ced/CMakeLists.txt new file mode 100644 index 0000000..668c635 --- /dev/null +++ b/contrib/google-ced/CMakeLists.txt @@ -0,0 +1,26 @@ +# Copyright 2016 Google Inc. All Rights Reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. +# +# This library is derived from https://github.com/google/compact_enc_det +# git id: 37529e628fbac2e4c0d4d8520be9db789f316c9e + +project(CED CXX) +set(CMAKE_SUPPRESS_DEVELOPER_WARNINGS 1 CACHE INTERNAL "No dev warnings") + +option(BUILD_SHARED_LIBS "Build shared libraries" OFF) + + +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-narrowing") + +include_directories(${CMAKE_CURRENT_SOURCE_DIR}) + +set(CED_LIBRARY_SOURCES + compact_enc_det.cc + compact_enc_det_hint_code.cc + util/encodings/encodings.cc + util/languages/languages.cc + ced_c.cc + ) + +add_library(rspamd-ced STATIC ${CED_LIBRARY_SOURCES}) |