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