Adding upstream version 3.1.0+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
64dbec996d
commit
cfcebb1a7d
569 changed files with 205393 additions and 0 deletions
20
tools/re/CMakeLists.txt
Normal file
20
tools/re/CMakeLists.txt
Normal file
|
@ -0,0 +1,20 @@
|
|||
# yangre
|
||||
|
||||
set(resrc
|
||||
main.c)
|
||||
|
||||
set(format_sources
|
||||
${format_sources}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/*.c
|
||||
PARENT_SCOPE)
|
||||
|
||||
add_executable(yangre ${resrc} ${compatsrc})
|
||||
target_link_libraries(yangre yang)
|
||||
install(TARGETS yangre DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
install(FILES ${PROJECT_SOURCE_DIR}/tools/re/yangre.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
||||
target_include_directories(yangre BEFORE PRIVATE ${PROJECT_BINARY_DIR})
|
||||
|
||||
if(WIN32)
|
||||
target_include_directories(yangre PRIVATE ${GETOPT_INCLUDE_DIR})
|
||||
target_link_libraries(yangre ${GETOPT_LIBRARY})
|
||||
endif()
|
Loading…
Add table
Add a link
Reference in a new issue