author | Alpar Juttner <alpar@cs.elte.hu> |
Wed, 17 Oct 2018 18:56:32 +0200 | |
changeset 1394 | 2e0c2c25d63e |
permissions | -rw-r--r-- |
alpar@1031 | 1 |
INCLUDE_DIRECTORIES( |
alpar@1031 | 2 |
${PROJECT_SOURCE_DIR} |
alpar@1031 | 3 |
${PROJECT_BINARY_DIR} |
alpar@1031 | 4 |
) |
alpar@1031 | 5 |
|
alpar@1031 | 6 |
LINK_DIRECTORIES( |
alpar@1031 | 7 |
${PROJECT_BINARY_DIR}/lemon |
alpar@1031 | 8 |
) |
alpar@1031 | 9 |
|
alpar@1031 | 10 |
# Uncomment (and adjust) the following two lines. 'myprog' is the name |
alpar@1031 | 11 |
# of the final executable ('.exe' will automatically be added to the |
alpar@1031 | 12 |
# name on Windows) and 'myprog-main.cc' is the source code it is |
alpar@1031 | 13 |
# compiled from. You can add more source files separated by |
alpar@1031 | 14 |
# whitespaces. Moreover, you can add multiple similar blocks if you |
alpar@1031 | 15 |
# want to build more than one executables. |
alpar@1031 | 16 |
|
alpar@1031 | 17 |
# ADD_EXECUTABLE(myprog myprog-main.cc) |
alpar@1031 | 18 |
# TARGET_LINK_LIBRARIES(myprog lemon) |
alpar@1031 | 19 |