Rev | Line | |
---|
[925] | 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 | |
---|
Note: See
TracBrowser
for help on using the repository browser.