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 | |||||
11 | add_executable(yangre ${resrc} $<TARGET_OBJECTS:compat>) | ||||
12 | target_link_libraries(yangre yang) | ||||
13 | install(TARGETS yangre DESTINATION ${CMAKE_INSTALL_BINDIR}) | ||||
14 | target_include_directories(yangre BEFORE PRIVATE ${PROJECT_BINARY_DIR}) |