alpar@1031: INCLUDE_DIRECTORIES( alpar@1031: ${PROJECT_SOURCE_DIR} alpar@1031: ${PROJECT_BINARY_DIR} alpar@1031: ) alpar@1031: alpar@1031: LINK_DIRECTORIES( alpar@1031: ${PROJECT_BINARY_DIR}/lemon alpar@1031: ) alpar@1031: alpar@1031: # Uncomment (and adjust) the following two lines. 'myprog' is the name alpar@1031: # of the final executable ('.exe' will automatically be added to the alpar@1031: # name on Windows) and 'myprog-main.cc' is the source code it is alpar@1031: # compiled from. You can add more source files separated by alpar@1031: # whitespaces. Moreover, you can add multiple similar blocks if you alpar@1031: # want to build more than one executables. alpar@1031: alpar@1031: # ADD_EXECUTABLE(myprog myprog-main.cc) alpar@1031: # TARGET_LINK_LIBRARIES(myprog lemon) alpar@1031: