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 |
|
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 |
|
83 ## Sometimes MSVC overwhelms you with compiler warnings which are impossible to |
64 ## 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 |
65 ## avoid. Then comment out these sections. Normally you won't need it as the |
85 ## LEMON include headers suppress these warnings anyway. |
66 ## LEMON include headers suppress these warnings anyway. |
86 |
67 |
87 #IF(MSVC) |
68 #IF(MSVC) |
100 |
81 |
101 ## The auxiliary doxygen files (.dox) should be placed in the 'doc' |
82 ## The auxiliary doxygen files (.dox) should be placed in the 'doc' |
102 ## subdirectory. The next line includes the CMAKE config of that directory. |
83 ## subdirectory. The next line includes the CMAKE config of that directory. |
103 |
84 |
104 ADD_SUBDIRECTORY(doc) |
85 ADD_SUBDIRECTORY(doc) |
|
86 |
|
87 ADD_SUBDIRECTORY(generators/netgen) |
105 |
88 |
106 ####################################################################### |
89 ####################################################################### |
107 ## CPACK configuration |
90 ## CPACK configuration |
108 ## |
91 ## |
109 ## It is used to configure the .exe installer created by CPACK. |
92 ## It is used to configure the .exe installer created by CPACK. |