0
1
1
1 |
prefix=@CMAKE_INSTALL_PREFIX@ |
|
2 |
exec_prefix=@CMAKE_INSTALL_PREFIX@/bin |
|
3 |
libdir=@CMAKE_INSTALL_PREFIX@/lib |
|
4 |
includedir=@CMAKE_INSTALL_PREFIX@/include |
|
5 |
|
|
6 |
Name: @PROJECT_NAME@ |
|
7 |
Description: Library for Efficient Modeling and Optimization in Networks |
|
8 |
Version: @PROJECT_VERSION@ |
|
9 |
Libs: -L${libdir} -lemon @GLPK_LIBS@ @CPLEX_LIBS@ @SOPLEX_LIBS@ @CLP_LIBS@ @CBC_LIBS@ |
|
10 |
Cflags: -I${includedir} |
... | ... |
@@ -5,12 +5,18 @@ |
5 | 5 |
|
6 | 6 |
CONFIGURE_FILE( |
7 | 7 |
${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake |
8 | 8 |
${CMAKE_CURRENT_BINARY_DIR}/config.h |
9 | 9 |
) |
10 | 10 |
|
11 |
CONFIGURE_FILE( |
|
12 |
${CMAKE_CURRENT_SOURCE_DIR}/lemon.pc.cmake |
|
13 |
${CMAKE_CURRENT_BINARY_DIR}/lemon.pc |
|
14 |
@ONLY |
|
15 |
) |
|
16 |
|
|
11 | 17 |
SET(LEMON_SOURCES |
12 | 18 |
arg_parser.cc |
13 | 19 |
base.cc |
14 | 20 |
color.cc |
15 | 21 |
lp_base.cc |
16 | 22 |
lp_skeleton.cc |
... | ... |
@@ -63,6 +69,12 @@ |
63 | 69 |
|
64 | 70 |
INSTALL( |
65 | 71 |
FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h |
66 | 72 |
DESTINATION include/lemon |
67 | 73 |
COMPONENT headers |
68 | 74 |
) |
75 |
|
|
76 |
INSTALL( |
|
77 |
FILES ${CMAKE_CURRENT_BINARY_DIR}/lemon.pc |
|
78 |
DESTINATION lib/pkgconfig |
|
79 |
) |
|
80 |
0 comments (0 inline)