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