example1/CMakeLists.txt
raw| 1 | include_directories( |
| 2 | ${CMAKE_CURRENT_SOURCE_DIR}/../inc |
| 3 | ${CMAKE_CURRENT_SOURCE_DIR}/../crnlib |
| 4 | ) |
| 5 | |
| 6 | # Defines the source code for the library |
| 7 | set(EXAMPLE1_SRCS |
| 8 | ${CMAKE_CURRENT_SOURCE_DIR}/example1.cpp |
| 9 | ) |
| 10 | |
| 11 | add_executable(example1 ${EXAMPLE1_SRCS}) |
| 12 | target_link_libraries(example1 ${CRUNCH_LIBRARY_NAME}) |