Radek Krejci | cb293a3 | 2020-11-13 15:36:29 +0100 | [diff] [blame] | 1 | # yangre |
| 2 | |
| 3 | set(resrc |
| 4 | main.c) |
| 5 | |
| 6 | set(format_sources |
| 7 | ${format_sources} |
| 8 | ${CMAKE_CURRENT_SOURCE_DIR}/*.c |
| 9 | PARENT_SCOPE) |
| 10 | |
Michal Vasko | 1b0b9a1 | 2021-05-06 08:38:34 +0200 | [diff] [blame^] | 11 | add_executable(yangre ${resrc} ${compatsrc}) |
Radek Krejci | cb293a3 | 2020-11-13 15:36:29 +0100 | [diff] [blame] | 12 | target_link_libraries(yangre yang) |
| 13 | install(TARGETS yangre DESTINATION ${CMAKE_INSTALL_BINDIR}) |
| 14 | target_include_directories(yangre BEFORE PRIVATE ${PROJECT_BINARY_DIR}) |