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