equal
deleted
inserted
replaced
59 ${PROJECT_SOURCE_DIR} |
59 ${PROJECT_SOURCE_DIR} |
60 ${PROJECT_BINARY_DIR} |
60 ${PROJECT_BINARY_DIR} |
61 ${LEMON_INCLUDE_DIRS} |
61 ${LEMON_INCLUDE_DIRS} |
62 ) |
62 ) |
63 |
63 |
64 ## Here we define an executable target. Its name is 'lemon-project' and |
64 ADD_SUBDIRECTORY(src) |
65 ## is compiled from 'main.cc'. You can add more source files separated |
|
66 ## with whitespaces (including newlines). If you want to build more |
|
67 ## executables, simple repeat (and edit) the following ADD_EXECUTABLE and |
|
68 ## TARGET_LINK_LIBRARIES statements. |
|
69 |
|
70 ADD_EXECUTABLE(lemon-project main.cc) |
|
71 TARGET_LINK_LIBRARIES(lemon-project ${LEMON_LIBRARIES}) |
|
72 |
|
73 ## This tells cmake to install 'lemon-project' to $PREFIX/bin when |
|
74 ## 'make install' is executed. You can give more targets separated |
|
75 ## by whitespaces. |
|
76 |
|
77 INSTALL( |
|
78 TARGETS lemon-project |
|
79 RUNTIME DESTINATION bin |
|
80 COMPONENT bin |
|
81 ) |
|
82 |
65 |
83 ## Sometimes MSVC overwhelms you with compiler warnings which are impossible to |
66 ## Sometimes MSVC overwhelms you with compiler warnings which are impossible to |
84 ## avoid. Then comment out these sections. Normally you won't need it as the |
67 ## avoid. Then comment out these sections. Normally you won't need it as the |
85 ## LEMON include headers suppress these warnings anyway. |
68 ## LEMON include headers suppress these warnings anyway. |
86 |
69 |