author | Balazs Dezso <deba@inf.elte.hu> |
Tue, 16 Nov 2010 08:19:11 +0100 | |
changeset 1023 | 939ee6d1e525 |
permissions | -rw-r--r-- |
alpar@925 | 1 |
INCLUDE_DIRECTORIES( |
alpar@925 | 2 |
${PROJECT_SOURCE_DIR} |
alpar@925 | 3 |
${PROJECT_BINARY_DIR} |
alpar@925 | 4 |
) |
alpar@925 | 5 |
|
alpar@925 | 6 |
LINK_DIRECTORIES( |
alpar@925 | 7 |
${PROJECT_BINARY_DIR}/lemon |
alpar@925 | 8 |
) |
alpar@925 | 9 |
|
alpar@925 | 10 |
# Uncomment (and adjust) the following two lines. 'myprog' is the name |
alpar@925 | 11 |
# of the final executable ('.exe' will automatically be added to the |
alpar@925 | 12 |
# name on Windows) and 'myprog-main.cc' is the source code it is |
alpar@925 | 13 |
# compiled from. You can add more source files separated by |
alpar@925 | 14 |
# whitespaces. Moreover, you can add multiple similar blocks if you |
alpar@925 | 15 |
# want to build more than one executables. |
alpar@925 | 16 |
|
alpar@925 | 17 |
# ADD_EXECUTABLE(myprog myprog-main.cc) |
alpar@925 | 18 |
# TARGET_LINK_LIBRARIES(myprog lemon) |
alpar@925 | 19 |