blob: 0067e4c2a770bad989120332cf2c8268bc137809 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# raptor/utils/CMakeLists.txt
#
# Original listfile by Daniel Richard G. <skunk@iSKUNK.ORG>
# This file is in the public domain.
#
INCLUDE_DIRECTORIES(BEFORE
${CMAKE_CURRENT_SOURCE_DIR}/../src
${CMAKE_BINARY_DIR}/src
${CMAKE_CURRENT_SOURCE_DIR}
)
IF(NOT HAVE_GETOPT AND NOT HAVE_GETOPT_LONG)
SET(getopt_sources getopt.c raptor_getopt.h)
ENDIF(NOT HAVE_GETOPT AND NOT HAVE_GETOPT_LONG)
ADD_EXECUTABLE(rapper rapper.c ${getopt_sources})
TARGET_LINK_LIBRARIES(rapper raptor2)
ADD_EXECUTABLE(rdfdiff rdfdiff.c ${getopt_sources})
TARGET_LINK_LIBRARIES(rdfdiff raptor2)
INSTALL(FILES rapper.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
INSTALL(TARGETS rapper DESTINATION ${CMAKE_INSTALL_BINDIR})
# end raptor/utils/CMakeLists.txt
|