0
5
0
... | ... |
@@ -11,12 +11,14 @@ |
11 | 11 |
|
12 | 12 |
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) |
13 | 13 |
|
14 | 14 |
INCLUDE(FindDoxygen) |
15 | 15 |
INCLUDE(FindGhostscript) |
16 | 16 |
|
17 |
ADD_DEFINITIONS(-DHAVE_CONFIG_H) |
|
18 |
|
|
17 | 19 |
INCLUDE(CheckTypeSize) |
18 | 20 |
CHECK_TYPE_SIZE("long long" LONG_LONG) |
19 | 21 |
|
20 | 22 |
ENABLE_TESTING() |
21 | 23 |
|
22 | 24 |
ADD_SUBDIRECTORY(lemon) |
1 |
INCLUDE_DIRECTORIES( |
|
1 |
INCLUDE_DIRECTORIES( |
|
2 |
${CMAKE_SOURCE_DIR} |
|
3 |
${PROJECT_BINARY_DIR} |
|
4 |
) |
|
5 |
|
|
6 |
CONFIGURE_FILE( |
|
7 |
${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake |
|
8 |
${CMAKE_CURRENT_BINARY_DIR}/config.h |
|
9 |
) |
|
2 | 10 |
|
3 | 11 |
ADD_LIBRARY(lemon |
4 | 12 |
arg_parser.cc |
5 | 13 |
base.cc |
6 | 14 |
color.cc |
7 | 15 |
random.cc |
... | ... |
@@ -15,6 +23,11 @@ |
15 | 23 |
|
16 | 24 |
INSTALL( |
17 | 25 |
DIRECTORY . bits concepts |
18 | 26 |
DESTINATION include/lemon |
19 | 27 |
COMPONENT headers |
20 | 28 |
FILES_MATCHING PATTERN "*.h") |
29 |
|
|
30 |
INSTALL( |
|
31 |
FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h |
|
32 |
DESTINATION include/lemon |
|
33 |
COMPONENT headers) |
... | ... |
@@ -20,12 +20,13 @@ |
20 | 20 |
lemon/arg_parser.h \ |
21 | 21 |
lemon/assert.h \ |
22 | 22 |
lemon/bfs.h \ |
23 | 23 |
lemon/bin_heap.h \ |
24 | 24 |
lemon/color.h \ |
25 | 25 |
lemon/concept_check.h \ |
26 |
lemon/config.h \ |
|
26 | 27 |
lemon/counter.h \ |
27 | 28 |
lemon/core.h \ |
28 | 29 |
lemon/dfs.h \ |
29 | 30 |
lemon/dijkstra.h \ |
30 | 31 |
lemon/dim2.h \ |
31 | 32 |
lemon/error.h \ |
0 comments (0 inline)