# HG changeset patch
# User Alpar Juttner <alpar@cs.elte.hu>
# Date 1291379198 -3600
# Node ID c99b23b1ef50be26c6ed095240a6d7b4dc97b42f
# Parent 4980b05606bdffb4ca3c522a9449dd5b1f5310d4
Add contrib dir (#401)
diff --git a/CMakeLists.txt b/CMakeLists.txt
a
|
b
|
|
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) |
diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt
new file mode 100644
-
|
+
|
|
| 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 make more than one executables. |
| 16 | |
| 17 | # ADD_EXECUTABLE(myprog myprog-main.cc) |
| 18 | # TARGET_LINK_LIBRARIES(myprog lemon) |
| 19 | |