0
3
1
1 |
INCLUDE_DIRECTORIES( |
|
2 |
${PROJECT_SOURCE_DIR} |
|
3 |
${PROJECT_BINARY_DIR} |
|
4 |
) |
|
5 |
|
|
6 |
LINK_DIRECTORIES( |
|
7 |
${PROJECT_BINARY_DIR}/lemon |
|
8 |
) |
|
9 |
|
|
10 |
# Uncomment (and adjust) the following two lines. 'myprog' is the name |
|
11 |
# of the final executable ('.exe' will automatically be added to the |
|
12 |
# name on Windows) and 'myprog-main.cc' is the source code it is |
|
13 |
# compiled from. You can add more source files separated by |
|
14 |
# whitespaces. Moreover, you can add multiple similar blocks if you |
|
15 |
# want to build more than one executables. |
|
16 |
|
|
17 |
# ADD_EXECUTABLE(myprog myprog-main.cc) |
|
18 |
# TARGET_LINK_LIBRARIES(myprog lemon) |
|
19 |
1 | 1 |
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) |
2 | 2 |
|
3 | 3 |
SET(PROJECT_NAME "LEMON") |
4 | 4 |
PROJECT(${PROJECT_NAME}) |
5 | 5 |
|
6 | 6 |
INCLUDE(FindPythonInterp) |
7 | 7 |
INCLUDE(FindWget) |
8 | 8 |
|
9 | 9 |
IF(EXISTS ${PROJECT_SOURCE_DIR}/cmake/version.cmake) |
10 | 10 |
INCLUDE(${PROJECT_SOURCE_DIR}/cmake/version.cmake) |
11 | 11 |
ELSEIF(DEFINED ENV{LEMON_VERSION}) |
12 | 12 |
SET(LEMON_VERSION $ENV{LEMON_VERSION} CACHE STRING "LEMON version string.") |
13 | 13 |
ELSE() |
14 | 14 |
EXECUTE_PROCESS( |
15 | 15 |
COMMAND ${PYTHON_EXECUTABLE} ./scripts/chg-len.py |
16 | 16 |
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} |
17 | 17 |
OUTPUT_VARIABLE HG_REVISION_PATH |
18 | 18 |
ERROR_QUIET |
19 | 19 |
OUTPUT_STRIP_TRAILING_WHITESPACE |
20 | 20 |
) |
21 | 21 |
EXECUTE_PROCESS( |
22 | 22 |
COMMAND hg id -i |
23 | 23 |
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} |
24 | 24 |
OUTPUT_VARIABLE HG_REVISION |
25 | 25 |
ERROR_QUIET |
26 | 26 |
OUTPUT_STRIP_TRAILING_WHITESPACE |
27 | 27 |
) |
28 | 28 |
IF(HG_REVISION STREQUAL "") |
29 | 29 |
SET(HG_REVISION_ID "hg-tip") |
30 | 30 |
ELSE() |
31 | 31 |
IF(HG_REVISION_PATH STREQUAL "") |
32 | 32 |
SET(HG_REVISION_ID ${HG_REVISION}) |
33 | 33 |
ELSE() |
34 | 34 |
SET(HG_REVISION_ID ${HG_REVISION_PATH}.${HG_REVISION}) |
35 | 35 |
ENDIF() |
36 | 36 |
ENDIF() |
37 | 37 |
SET(LEMON_VERSION ${HG_REVISION_ID} CACHE STRING "LEMON version string.") |
38 | 38 |
ENDIF() |
39 | 39 |
|
40 | 40 |
SET(PROJECT_VERSION ${LEMON_VERSION}) |
41 | 41 |
|
42 | 42 |
SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) |
43 | 43 |
|
44 | 44 |
FIND_PACKAGE(Doxygen) |
45 | 45 |
FIND_PACKAGE(Ghostscript) |
46 | 46 |
FIND_PACKAGE(GLPK 4.33) |
47 | 47 |
FIND_PACKAGE(CPLEX) |
48 | 48 |
FIND_PACKAGE(COIN) |
49 | 49 |
|
50 | 50 |
IF(DEFINED ENV{LEMON_CXX_WARNING}) |
51 | 51 |
SET(CXX_WARNING $ENV{LEMON_CXX_WARNING}) |
52 | 52 |
ELSE() |
53 | 53 |
IF(CMAKE_COMPILER_IS_GNUCXX) |
54 | 54 |
SET(CXX_WARNING "-Wall -W -Wunused -Wformat=2 -Wctor-dtor-privacy -Wnon-virtual-dtor -Wno-char-subscripts -Wwrite-strings -Wno-char-subscripts -Wreturn-type -Wcast-qual -Wcast-align -Wsign-promo -Woverloaded-virtual -ansi -fno-strict-aliasing -Wold-style-cast -Wno-unknown-pragmas") |
55 | 55 |
SET(CMAKE_CXX_FLAGS_DEBUG CACHE STRING "-ggdb") |
56 | 56 |
SET(CMAKE_C_FLAGS_DEBUG CACHE STRING "-ggdb") |
57 | 57 |
ELSEIF(MSVC) |
58 | 58 |
# This part is unnecessary 'casue the same is set by the lemon/core.h. |
59 | 59 |
# Still keep it as an example. |
60 | 60 |
SET(CXX_WARNING "/wd4250 /wd4355 /wd4503 /wd4800 /wd4996") |
61 | 61 |
# Suppressed warnings: |
62 | 62 |
# C4250: 'class1' : inherits 'class2::member' via dominance |
63 | 63 |
# C4355: 'this' : used in base member initializer list |
64 | 64 |
# C4503: 'function' : decorated name length exceeded, name was truncated |
65 | 65 |
# C4800: 'type' : forcing value to bool 'true' or 'false' |
66 | 66 |
# (performance warning) |
67 | 67 |
# C4996: 'function': was declared deprecated |
68 | 68 |
ELSE() |
69 | 69 |
SET(CXX_WARNING "-Wall -W") |
70 | 70 |
ENDIF() |
71 | 71 |
ENDIF() |
72 | 72 |
SET(LEMON_CXX_WARNING_FLAGS ${CXX_WARNING} CACHE STRING "LEMON warning flags.") |
73 | 73 |
|
74 | 74 |
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LEMON_CXX_WARNING_FLAGS}") |
75 | 75 |
|
76 | 76 |
SET( CMAKE_CXX_FLAGS_MAINTAINER "-Werror -ggdb" CACHE STRING |
77 | 77 |
"Flags used by the C++ compiler during maintainer builds." |
78 | 78 |
FORCE ) |
79 | 79 |
SET( CMAKE_C_FLAGS_MAINTAINER "-Werror" CACHE STRING |
80 | 80 |
"Flags used by the C compiler during maintainer builds." |
81 | 81 |
FORCE ) |
82 | 82 |
SET( CMAKE_EXE_LINKER_FLAGS_MAINTAINER |
83 | 83 |
"-Wl,--warn-unresolved-symbols,--warn-once" CACHE STRING |
84 | 84 |
"Flags used for linking binaries during maintainer builds." |
85 | 85 |
FORCE ) |
86 | 86 |
SET( CMAKE_SHARED_LINKER_FLAGS_MAINTAINER |
87 | 87 |
"-Wl,--warn-unresolved-symbols,--warn-once" CACHE STRING |
88 | 88 |
"Flags used by the shared libraries linker during maintainer builds." |
89 | 89 |
FORCE ) |
90 | 90 |
MARK_AS_ADVANCED( |
91 | 91 |
CMAKE_CXX_FLAGS_MAINTAINER |
92 | 92 |
CMAKE_C_FLAGS_MAINTAINER |
93 | 93 |
CMAKE_EXE_LINKER_FLAGS_MAINTAINER |
94 | 94 |
CMAKE_SHARED_LINKER_FLAGS_MAINTAINER ) |
95 | 95 |
|
96 | 96 |
IF(CMAKE_CONFIGURATION_TYPES) |
97 | 97 |
LIST(APPEND CMAKE_CONFIGURATION_TYPES Maintainer) |
98 | 98 |
LIST(REMOVE_DUPLICATES CMAKE_CONFIGURATION_TYPES) |
99 | 99 |
SET(CMAKE_CONFIGURATION_TYPES "${CMAKE_CONFIGURATION_TYPES}" CACHE STRING |
100 | 100 |
"Add the configurations that we need" |
101 | 101 |
FORCE) |
102 | 102 |
endif() |
103 | 103 |
|
104 | 104 |
IF(NOT CMAKE_BUILD_TYPE) |
105 | 105 |
SET(CMAKE_BUILD_TYPE "Release") |
106 | 106 |
ENDIF() |
107 | 107 |
|
108 | 108 |
SET( CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING |
109 | 109 |
"Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel Maintainer." |
110 | 110 |
FORCE ) |
111 | 111 |
|
112 | 112 |
|
113 | 113 |
INCLUDE(CheckTypeSize) |
114 | 114 |
CHECK_TYPE_SIZE("long long" LONG_LONG) |
115 | 115 |
SET(LEMON_HAVE_LONG_LONG ${HAVE_LONG_LONG}) |
116 | 116 |
|
117 | 117 |
ENABLE_TESTING() |
118 | 118 |
|
119 | 119 |
IF(${CMAKE_BUILD_TYPE} STREQUAL "Maintainer") |
120 | 120 |
ADD_CUSTOM_TARGET(check ALL COMMAND ${CMAKE_CTEST_COMMAND}) |
121 | 121 |
ELSE() |
122 | 122 |
ADD_CUSTOM_TARGET(check COMMAND ${CMAKE_CTEST_COMMAND}) |
123 | 123 |
ENDIF() |
124 | 124 |
|
125 | 125 |
ADD_SUBDIRECTORY(lemon) |
126 | 126 |
IF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR}) |
127 |
ADD_SUBDIRECTORY(contrib) |
|
127 | 128 |
ADD_SUBDIRECTORY(demo) |
128 | 129 |
ADD_SUBDIRECTORY(tools) |
129 | 130 |
ADD_SUBDIRECTORY(doc) |
130 | 131 |
ADD_SUBDIRECTORY(test) |
131 | 132 |
ENDIF() |
132 | 133 |
|
133 | 134 |
CONFIGURE_FILE( |
134 | 135 |
${PROJECT_SOURCE_DIR}/cmake/LEMONConfig.cmake.in |
135 | 136 |
${PROJECT_BINARY_DIR}/cmake/LEMONConfig.cmake |
136 | 137 |
@ONLY |
137 | 138 |
) |
138 | 139 |
IF(UNIX) |
139 | 140 |
INSTALL( |
140 | 141 |
FILES ${PROJECT_BINARY_DIR}/cmake/LEMONConfig.cmake |
141 | 142 |
DESTINATION share/lemon/cmake |
142 | 143 |
) |
143 | 144 |
ELSEIF(WIN32) |
144 | 145 |
INSTALL( |
145 | 146 |
FILES ${PROJECT_BINARY_DIR}/cmake/LEMONConfig.cmake |
146 | 147 |
DESTINATION cmake |
147 | 148 |
) |
148 | 149 |
ENDIF() |
149 | 150 |
|
150 | 151 |
IF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR}) |
151 | 152 |
SET(CPACK_PACKAGE_NAME ${PROJECT_NAME}) |
152 | 153 |
SET(CPACK_PACKAGE_VENDOR "EGRES") |
153 | 154 |
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY |
154 | 155 |
"LEMON - Library for Efficient Modeling and Optimization in Networks") |
155 | 156 |
SET(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE") |
156 | 157 |
|
157 | 158 |
SET(CPACK_PACKAGE_VERSION ${PROJECT_VERSION}) |
158 | 159 |
|
159 | 160 |
SET(CPACK_PACKAGE_INSTALL_DIRECTORY |
160 | 161 |
"${PROJECT_NAME} ${PROJECT_VERSION}") |
161 | 162 |
SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY |
162 | 163 |
"${PROJECT_NAME} ${PROJECT_VERSION}") |
163 | 164 |
|
164 | 165 |
SET(CPACK_COMPONENTS_ALL headers library html_documentation bin) |
165 | 166 |
|
166 | 167 |
SET(CPACK_COMPONENT_HEADERS_DISPLAY_NAME "C++ headers") |
167 | 168 |
SET(CPACK_COMPONENT_LIBRARY_DISPLAY_NAME "Dynamic-link library") |
168 | 169 |
SET(CPACK_COMPONENT_BIN_DISPLAY_NAME "Command line utilities") |
169 | 170 |
SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DISPLAY_NAME "HTML documentation") |
170 | 171 |
|
171 | 172 |
SET(CPACK_COMPONENT_HEADERS_DESCRIPTION |
172 | 173 |
"C++ header files") |
173 | 174 |
SET(CPACK_COMPONENT_LIBRARY_DESCRIPTION |
174 | 175 |
"DLL and import library") |
175 | 176 |
SET(CPACK_COMPONENT_BIN_DESCRIPTION |
176 | 177 |
"Command line utilities") |
177 | 178 |
SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DESCRIPTION |
178 | 179 |
"Doxygen generated documentation") |
179 | 180 |
|
180 | 181 |
SET(CPACK_COMPONENT_HEADERS_DEPENDS library) |
181 | 182 |
|
182 | 183 |
SET(CPACK_COMPONENT_HEADERS_GROUP "Development") |
183 | 184 |
SET(CPACK_COMPONENT_LIBRARY_GROUP "Development") |
184 | 185 |
SET(CPACK_COMPONENT_HTML_DOCUMENTATION_GROUP "Documentation") |
185 | 186 |
|
186 | 187 |
SET(CPACK_COMPONENT_GROUP_DEVELOPMENT_DESCRIPTION |
187 | 188 |
"Components needed to develop software using LEMON") |
188 | 189 |
SET(CPACK_COMPONENT_GROUP_DOCUMENTATION_DESCRIPTION |
189 | 190 |
"Documentation of LEMON") |
190 | 191 |
|
191 | 192 |
SET(CPACK_ALL_INSTALL_TYPES Full Developer) |
192 | 193 |
|
193 | 194 |
SET(CPACK_COMPONENT_HEADERS_INSTALL_TYPES Developer Full) |
194 | 195 |
SET(CPACK_COMPONENT_LIBRARY_INSTALL_TYPES Developer Full) |
195 | 196 |
SET(CPACK_COMPONENT_HTML_DOCUMENTATION_INSTALL_TYPES Full) |
196 | 197 |
|
197 | 198 |
SET(CPACK_GENERATOR "NSIS") |
198 | 199 |
SET(CPACK_NSIS_MUI_ICON "${PROJECT_SOURCE_DIR}/cmake/nsis/lemon.ico") |
199 | 200 |
SET(CPACK_NSIS_MUI_UNIICON "${PROJECT_SOURCE_DIR}/cmake/nsis/uninstall.ico") |
200 | 201 |
#SET(CPACK_PACKAGE_ICON "${PROJECT_SOURCE_DIR}/cmake/nsis\\\\installer.bmp") |
201 | 202 |
SET(CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\lemon.ico") |
202 | 203 |
SET(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY} ${PROJECT_NAME}") |
203 | 204 |
SET(CPACK_NSIS_HELP_LINK "http:\\\\\\\\lemon.cs.elte.hu") |
204 | 205 |
SET(CPACK_NSIS_URL_INFO_ABOUT "http:\\\\\\\\lemon.cs.elte.hu") |
205 | 206 |
SET(CPACK_NSIS_CONTACT "lemon-user@lemon.cs.elte.hu") |
206 | 207 |
SET(CPACK_NSIS_CREATE_ICONS_EXTRA " |
207 | 208 |
CreateShortCut \\\"$SMPROGRAMS\\\\$STARTMENU_FOLDER\\\\Documentation.lnk\\\" \\\"$INSTDIR\\\\share\\\\doc\\\\index.html\\\" |
208 | 209 |
") |
209 | 210 |
SET(CPACK_NSIS_DELETE_ICONS_EXTRA " |
210 | 211 |
!insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP |
211 | 212 |
Delete \\\"$SMPROGRAMS\\\\$MUI_TEMP\\\\Documentation.lnk\\\" |
212 | 213 |
") |
213 | 214 |
|
214 | 215 |
INCLUDE(CPack) |
215 | 216 |
ENDIF() |
1 | 1 |
# Doxyfile 1.5.9 |
2 | 2 |
|
3 | 3 |
#--------------------------------------------------------------------------- |
4 | 4 |
# Project related configuration options |
5 | 5 |
#--------------------------------------------------------------------------- |
6 | 6 |
DOXYFILE_ENCODING = UTF-8 |
7 | 7 |
PROJECT_NAME = @PACKAGE_NAME@ |
8 | 8 |
PROJECT_NUMBER = @PACKAGE_VERSION@ |
9 | 9 |
OUTPUT_DIRECTORY = |
10 | 10 |
CREATE_SUBDIRS = NO |
11 | 11 |
OUTPUT_LANGUAGE = English |
12 | 12 |
BRIEF_MEMBER_DESC = YES |
13 | 13 |
REPEAT_BRIEF = NO |
14 | 14 |
ABBREVIATE_BRIEF = |
15 | 15 |
ALWAYS_DETAILED_SEC = NO |
16 | 16 |
INLINE_INHERITED_MEMB = NO |
17 | 17 |
FULL_PATH_NAMES = YES |
18 | 18 |
STRIP_FROM_PATH = "@abs_top_srcdir@" |
19 | 19 |
STRIP_FROM_INC_PATH = "@abs_top_srcdir@" |
20 | 20 |
SHORT_NAMES = YES |
21 | 21 |
JAVADOC_AUTOBRIEF = NO |
22 | 22 |
QT_AUTOBRIEF = NO |
23 | 23 |
MULTILINE_CPP_IS_BRIEF = NO |
24 | 24 |
INHERIT_DOCS = NO |
25 | 25 |
SEPARATE_MEMBER_PAGES = NO |
26 | 26 |
TAB_SIZE = 8 |
27 | 27 |
ALIASES = |
28 | 28 |
OPTIMIZE_OUTPUT_FOR_C = NO |
29 | 29 |
OPTIMIZE_OUTPUT_JAVA = NO |
30 | 30 |
OPTIMIZE_FOR_FORTRAN = NO |
31 | 31 |
OPTIMIZE_OUTPUT_VHDL = NO |
32 | 32 |
BUILTIN_STL_SUPPORT = YES |
33 | 33 |
CPP_CLI_SUPPORT = NO |
34 | 34 |
SIP_SUPPORT = NO |
35 | 35 |
IDL_PROPERTY_SUPPORT = YES |
36 | 36 |
DISTRIBUTE_GROUP_DOC = NO |
37 | 37 |
SUBGROUPING = YES |
38 | 38 |
TYPEDEF_HIDES_STRUCT = NO |
39 | 39 |
SYMBOL_CACHE_SIZE = 0 |
40 | 40 |
#--------------------------------------------------------------------------- |
41 | 41 |
# Build related configuration options |
42 | 42 |
#--------------------------------------------------------------------------- |
43 | 43 |
EXTRACT_ALL = NO |
44 | 44 |
EXTRACT_PRIVATE = YES |
45 | 45 |
EXTRACT_STATIC = YES |
46 | 46 |
EXTRACT_LOCAL_CLASSES = NO |
47 | 47 |
EXTRACT_LOCAL_METHODS = NO |
48 | 48 |
EXTRACT_ANON_NSPACES = NO |
49 | 49 |
HIDE_UNDOC_MEMBERS = YES |
50 | 50 |
HIDE_UNDOC_CLASSES = YES |
51 | 51 |
HIDE_FRIEND_COMPOUNDS = NO |
52 | 52 |
HIDE_IN_BODY_DOCS = NO |
53 | 53 |
INTERNAL_DOCS = NO |
54 | 54 |
CASE_SENSE_NAMES = YES |
55 | 55 |
HIDE_SCOPE_NAMES = YES |
56 | 56 |
SHOW_INCLUDE_FILES = YES |
57 | 57 |
INLINE_INFO = YES |
58 | 58 |
SORT_MEMBER_DOCS = NO |
59 | 59 |
SORT_BRIEF_DOCS = NO |
60 | 60 |
SORT_GROUP_NAMES = NO |
61 | 61 |
SORT_BY_SCOPE_NAME = NO |
62 | 62 |
GENERATE_TODOLIST = YES |
63 | 63 |
GENERATE_TESTLIST = YES |
64 | 64 |
GENERATE_BUGLIST = YES |
65 | 65 |
GENERATE_DEPRECATEDLIST= YES |
66 | 66 |
ENABLED_SECTIONS = |
67 | 67 |
MAX_INITIALIZER_LINES = 5 |
68 | 68 |
SHOW_USED_FILES = NO |
69 | 69 |
SHOW_DIRECTORIES = YES |
70 | 70 |
SHOW_FILES = YES |
71 | 71 |
SHOW_NAMESPACES = YES |
72 | 72 |
FILE_VERSION_FILTER = |
73 | 73 |
LAYOUT_FILE = "@abs_top_srcdir@/doc/DoxygenLayout.xml" |
74 | 74 |
#--------------------------------------------------------------------------- |
75 | 75 |
# configuration options related to warning and progress messages |
76 | 76 |
#--------------------------------------------------------------------------- |
77 | 77 |
QUIET = NO |
78 | 78 |
WARNINGS = YES |
79 | 79 |
WARN_IF_UNDOCUMENTED = YES |
80 | 80 |
WARN_IF_DOC_ERROR = YES |
81 | 81 |
WARN_NO_PARAMDOC = NO |
82 | 82 |
WARN_FORMAT = "$file:$line: $text" |
83 | 83 |
WARN_LOGFILE = doxygen.log |
84 | 84 |
#--------------------------------------------------------------------------- |
85 | 85 |
# configuration options related to the input files |
86 | 86 |
#--------------------------------------------------------------------------- |
87 | 87 |
INPUT = "@abs_top_srcdir@/doc" \ |
88 | 88 |
"@abs_top_srcdir@/lemon" \ |
89 | 89 |
"@abs_top_srcdir@/lemon/bits" \ |
90 | 90 |
"@abs_top_srcdir@/lemon/concepts" \ |
91 | 91 |
"@abs_top_srcdir@/demo" \ |
92 |
"@abs_top_srcdir@/contrib" \ |
|
92 | 93 |
"@abs_top_srcdir@/tools" \ |
93 | 94 |
"@abs_top_srcdir@/test/test_tools.h" \ |
94 | 95 |
"@abs_top_builddir@/doc/references.dox" |
95 | 96 |
INPUT_ENCODING = UTF-8 |
96 | 97 |
FILE_PATTERNS = *.h \ |
97 | 98 |
*.cc \ |
98 | 99 |
*.dox |
99 | 100 |
RECURSIVE = NO |
100 | 101 |
EXCLUDE = |
101 | 102 |
EXCLUDE_SYMLINKS = NO |
102 | 103 |
EXCLUDE_PATTERNS = |
103 | 104 |
EXCLUDE_SYMBOLS = |
104 | 105 |
EXAMPLE_PATH = "@abs_top_srcdir@/demo" \ |
105 | 106 |
"@abs_top_srcdir@/LICENSE" \ |
106 | 107 |
"@abs_top_srcdir@/doc" |
107 | 108 |
EXAMPLE_PATTERNS = |
108 | 109 |
EXAMPLE_RECURSIVE = NO |
109 | 110 |
IMAGE_PATH = "@abs_top_srcdir@/doc/images" \ |
110 | 111 |
"@abs_top_builddir@/doc/gen-images" |
111 | 112 |
INPUT_FILTER = |
112 | 113 |
FILTER_PATTERNS = |
113 | 114 |
FILTER_SOURCE_FILES = NO |
114 | 115 |
#--------------------------------------------------------------------------- |
115 | 116 |
# configuration options related to source browsing |
116 | 117 |
#--------------------------------------------------------------------------- |
117 | 118 |
SOURCE_BROWSER = @LEMON_DOC_SOURCE_BROWSER@ |
118 | 119 |
INLINE_SOURCES = NO |
119 | 120 |
STRIP_CODE_COMMENTS = YES |
120 | 121 |
REFERENCED_BY_RELATION = NO |
121 | 122 |
REFERENCES_RELATION = NO |
122 | 123 |
REFERENCES_LINK_SOURCE = YES |
123 | 124 |
USE_HTAGS = NO |
124 | 125 |
VERBATIM_HEADERS = NO |
125 | 126 |
#--------------------------------------------------------------------------- |
126 | 127 |
# configuration options related to the alphabetical class index |
127 | 128 |
#--------------------------------------------------------------------------- |
128 | 129 |
ALPHABETICAL_INDEX = YES |
129 | 130 |
COLS_IN_ALPHA_INDEX = 2 |
130 | 131 |
IGNORE_PREFIX = |
131 | 132 |
#--------------------------------------------------------------------------- |
132 | 133 |
# configuration options related to the HTML output |
133 | 134 |
#--------------------------------------------------------------------------- |
134 | 135 |
GENERATE_HTML = YES |
135 | 136 |
HTML_OUTPUT = html |
136 | 137 |
HTML_FILE_EXTENSION = .html |
137 | 138 |
HTML_HEADER = |
138 | 139 |
HTML_FOOTER = |
139 | 140 |
HTML_STYLESHEET = |
140 | 141 |
HTML_ALIGN_MEMBERS = YES |
141 | 142 |
HTML_DYNAMIC_SECTIONS = NO |
142 | 143 |
GENERATE_DOCSET = NO |
143 | 144 |
DOCSET_FEEDNAME = "Doxygen generated docs" |
144 | 145 |
DOCSET_BUNDLE_ID = org.doxygen.Project |
145 | 146 |
GENERATE_HTMLHELP = NO |
146 | 147 |
CHM_FILE = |
147 | 148 |
HHC_LOCATION = |
148 | 149 |
GENERATE_CHI = NO |
149 | 150 |
CHM_INDEX_ENCODING = |
150 | 151 |
BINARY_TOC = NO |
151 | 152 |
TOC_EXPAND = NO |
152 | 153 |
GENERATE_QHP = NO |
153 | 154 |
QCH_FILE = |
154 | 155 |
QHP_NAMESPACE = org.doxygen.Project |
155 | 156 |
QHP_VIRTUAL_FOLDER = doc |
156 | 157 |
QHG_LOCATION = |
157 | 158 |
DISABLE_INDEX = NO |
158 | 159 |
ENUM_VALUES_PER_LINE = 4 |
159 | 160 |
GENERATE_TREEVIEW = NO |
160 | 161 |
TREEVIEW_WIDTH = 250 |
161 | 162 |
FORMULA_FONTSIZE = 10 |
162 | 163 |
#--------------------------------------------------------------------------- |
163 | 164 |
# configuration options related to the LaTeX output |
164 | 165 |
#--------------------------------------------------------------------------- |
165 | 166 |
GENERATE_LATEX = NO |
166 | 167 |
LATEX_OUTPUT = latex |
167 | 168 |
LATEX_CMD_NAME = latex |
168 | 169 |
MAKEINDEX_CMD_NAME = makeindex |
169 | 170 |
COMPACT_LATEX = YES |
170 | 171 |
PAPER_TYPE = a4wide |
171 | 172 |
EXTRA_PACKAGES = amsmath \ |
172 | 173 |
amssymb |
173 | 174 |
LATEX_HEADER = |
174 | 175 |
PDF_HYPERLINKS = YES |
175 | 176 |
USE_PDFLATEX = YES |
176 | 177 |
LATEX_BATCHMODE = NO |
177 | 178 |
LATEX_HIDE_INDICES = NO |
178 | 179 |
#--------------------------------------------------------------------------- |
179 | 180 |
# configuration options related to the RTF output |
180 | 181 |
#--------------------------------------------------------------------------- |
181 | 182 |
GENERATE_RTF = NO |
182 | 183 |
RTF_OUTPUT = rtf |
183 | 184 |
COMPACT_RTF = NO |
184 | 185 |
RTF_HYPERLINKS = NO |
185 | 186 |
RTF_STYLESHEET_FILE = |
186 | 187 |
RTF_EXTENSIONS_FILE = |
187 | 188 |
#--------------------------------------------------------------------------- |
188 | 189 |
# configuration options related to the man page output |
189 | 190 |
#--------------------------------------------------------------------------- |
190 | 191 |
GENERATE_MAN = NO |
191 | 192 |
MAN_OUTPUT = man |
192 | 193 |
MAN_EXTENSION = .3 |
193 | 194 |
MAN_LINKS = NO |
194 | 195 |
#--------------------------------------------------------------------------- |
195 | 196 |
# configuration options related to the XML output |
196 | 197 |
#--------------------------------------------------------------------------- |
197 | 198 |
GENERATE_XML = NO |
198 | 199 |
XML_OUTPUT = xml |
199 | 200 |
XML_SCHEMA = |
200 | 201 |
XML_DTD = |
201 | 202 |
XML_PROGRAMLISTING = YES |
202 | 203 |
#--------------------------------------------------------------------------- |
203 | 204 |
# configuration options for the AutoGen Definitions output |
204 | 205 |
#--------------------------------------------------------------------------- |
205 | 206 |
GENERATE_AUTOGEN_DEF = NO |
206 | 207 |
#--------------------------------------------------------------------------- |
207 | 208 |
# configuration options related to the Perl module output |
208 | 209 |
#--------------------------------------------------------------------------- |
209 | 210 |
GENERATE_PERLMOD = NO |
210 | 211 |
PERLMOD_LATEX = NO |
211 | 212 |
PERLMOD_PRETTY = YES |
212 | 213 |
PERLMOD_MAKEVAR_PREFIX = |
213 | 214 |
#--------------------------------------------------------------------------- |
214 | 215 |
# Configuration options related to the preprocessor |
215 | 216 |
#--------------------------------------------------------------------------- |
216 | 217 |
ENABLE_PREPROCESSING = YES |
217 | 218 |
MACRO_EXPANSION = NO |
218 | 219 |
EXPAND_ONLY_PREDEF = NO |
219 | 220 |
SEARCH_INCLUDES = YES |
1 | 1 |
/* -*- mode: C++; indent-tabs-mode: nil; -*- |
2 | 2 |
* |
3 | 3 |
* This file is a part of LEMON, a generic C++ optimization library. |
4 | 4 |
* |
5 | 5 |
* Copyright (C) 2003-2009 |
6 | 6 |
* Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport |
7 | 7 |
* (Egervary Research Group on Combinatorial Optimization, EGRES). |
8 | 8 |
* |
9 | 9 |
* Permission to use, modify and distribute this software is granted |
10 | 10 |
* provided that this copyright notice appears in all copies. For |
11 | 11 |
* precise terms see the accompanying LICENSE file. |
12 | 12 |
* |
13 | 13 |
* This software is provided "AS IS" with no warranty of any kind, |
14 | 14 |
* express or implied, and with no claim as to its suitability for any |
15 | 15 |
* purpose. |
16 | 16 |
* |
17 | 17 |
*/ |
18 | 18 |
|
19 | 19 |
/** |
20 | 20 |
\dir demo |
21 | 21 |
\brief A collection of demo applications. |
22 | 22 |
|
23 | 23 |
This directory contains several simple demo applications, mainly |
24 | 24 |
for educational purposes. |
25 | 25 |
*/ |
26 | 26 |
|
27 | 27 |
/** |
28 | 28 |
\dir doc |
29 | 29 |
\brief Auxiliary (and the whole generated) documentation. |
30 | 30 |
|
31 | 31 |
This directory contains some auxiliary pages and the whole generated |
32 | 32 |
documentation. |
33 | 33 |
*/ |
34 | 34 |
|
35 | 35 |
/** |
36 |
\dir contrib |
|
37 |
\brief Directory for user contributed source codes. |
|
38 |
|
|
39 |
You can place your own C++ code using LEMON into this directory, which |
|
40 |
will compile to an executable along with LEMON when you build the |
|
41 |
library. This is probably the easiest way of compiling short to medium |
|
42 |
codes, for this does require neither a LEMON installed system-wide nor |
|
43 |
adding several paths to the compiler. |
|
44 |
|
|
45 |
Please have a look at <tt>contrib/CMakeLists.txt</tt> for |
|
46 |
instruction on how to add your own files into the build process. */ |
|
47 |
|
|
48 |
/** |
|
36 | 49 |
\dir test |
37 | 50 |
\brief Test programs. |
38 | 51 |
|
39 | 52 |
This directory contains several test programs that check the consistency |
40 | 53 |
of the code. |
41 | 54 |
*/ |
42 | 55 |
|
43 | 56 |
/** |
44 | 57 |
\dir tools |
45 | 58 |
\brief Some useful executables. |
46 | 59 |
|
47 | 60 |
This directory contains the sources of some useful complete executables. |
48 | 61 |
*/ |
49 | 62 |
|
50 | 63 |
/** |
51 | 64 |
\dir lemon |
52 | 65 |
\brief Base include directory of LEMON. |
53 | 66 |
|
54 | 67 |
This is the base directory of LEMON includes, so each include file must be |
55 | 68 |
prefixed with this, e.g. |
56 | 69 |
\code |
57 | 70 |
#include<lemon/list_graph.h> |
58 | 71 |
#include<lemon/dijkstra.h> |
59 | 72 |
\endcode |
60 | 73 |
*/ |
61 | 74 |
|
62 | 75 |
/** |
63 | 76 |
\dir concepts |
64 | 77 |
\brief Concept descriptors and checking classes. |
65 | 78 |
|
66 | 79 |
This directory contains the concept descriptors and concept checking tools. |
67 | 80 |
For more information see the \ref concept "Concepts" module. |
68 | 81 |
*/ |
69 | 82 |
|
70 | 83 |
/** |
71 | 84 |
\dir bits |
72 | 85 |
\brief Auxiliary tools for implementation. |
73 | 86 |
|
74 | 87 |
This directory contains some auxiliary classes for implementing graphs, |
75 | 88 |
maps and some other classes. |
76 | 89 |
As a user you typically don't have to deal with these files. |
77 | 90 |
*/ |
0 comments (0 inline)