Line | |
---|
1 | INCLUDE_DIRECTORIES( |
---|
2 | ${CMAKE_SOURCE_DIR}/tests |
---|
3 | ${CMAKE_BINARY_DIR}/tests |
---|
4 | ) |
---|
5 | |
---|
6 | LINK_DIRECTORIES( |
---|
7 | # ${CMAKE_BINARY_DIR}/lemon |
---|
8 | ) |
---|
9 | |
---|
10 | SET(DATADIR_PATH ${CMAKE_BINARY_DIR}/data) |
---|
11 | CONFIGURE_FILE( |
---|
12 | ${CMAKE_CURRENT_SOURCE_DIR}/paths.cc.cmake |
---|
13 | ${CMAKE_CURRENT_BINARY_DIR}/paths.cc |
---|
14 | ) |
---|
15 | |
---|
16 | ADD_EXECUTABLE(circulation |
---|
17 | circulation.cc file_main.cc paths.cc |
---|
18 | ) |
---|
19 | |
---|
20 | TARGET_LINK_LIBRARIES(circulation |
---|
21 | lemon |
---|
22 | ) |
---|
23 | |
---|
24 | |
---|
25 | ## This tells cmake to install 'lemon-project' to $PREFIX/bin when |
---|
26 | ## 'make install' is executed. You can give more targets separated |
---|
27 | ## by whitespaces. |
---|
28 | |
---|
29 | INSTALL( |
---|
30 | TARGETS |
---|
31 | RUNTIME DESTINATION ${INSTALL_BIN_DIR} |
---|
32 | COMPONENT bin |
---|
33 | ) |
---|
34 | |
---|
Note: See
TracBrowser
for help on using the repository browser.