blob: 795d8344c564744903943490d64d22bac4f8c7b2 [file] [log] [blame]
Radek Krejcicb293a32020-11-13 15:36:29 +01001# yangre
2
3set(resrc
4 main.c)
5
6set(format_sources
7 ${format_sources}
8 ${CMAKE_CURRENT_SOURCE_DIR}/*.c
9 PARENT_SCOPE)
10
Michal Vasko1b0b9a12021-05-06 08:38:34 +020011add_executable(yangre ${resrc} ${compatsrc})
Radek Krejcicb293a32020-11-13 15:36:29 +010012target_link_libraries(yangre yang)
13install(TARGETS yangre DESTINATION ${CMAKE_INSTALL_BINDIR})
14target_include_directories(yangre BEFORE PRIVATE ${PROJECT_BINARY_DIR})