blob: 93e215e4fe2c5ba3078b3633c55c355abfa4df78 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
#################################################
#
# (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
project( indexlib )
include( ConfigureChecks.cmake )
string( REPLACE "-include tqt.h" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}" )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include compat.h ${USE_EXCEPTIONS}" )
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_BINARY_DIR}
)
##### headers ###################################
install( FILES
create.h index.h lockfile.h
DESTINATION ${INCLUDE_INSTALL_DIR}/kde/index )
##### other data ################################
configure_file( indexlib-config.in indexlib-config @ONLY )
install( PROGRAMS
${CMAKE_CURRENT_BINARY_DIR}/indexlib-config
DESTINATION ${BIN_INSTALL_DIR} )
##### index (shared) ############################
tde_add_library( index SHARED
SOURCES
bitstream.cpp compressed.cpp create.cpp exception.cpp ifile.cpp
leafdata.cpp leafdatavector.cpp lockfile.cpp logfile.cpp match.cpp
mmap_manager.cpp quotes.cpp slow.cpp stringarray.cpp stringset.cpp
tokenizer.cpp
VERSION 0.0.0
LINK z
DESTINATION ${LIB_INSTALL_DIR}
)
##### install import cmake modules ###############
tde_install_export( )
|