blob: 668c6352ccf0a01a08fc17c05c1f5c1332253e0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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})
|