diff options
author | Daniel Richard G <oss@teragram.com> | 2012-08-10 09:59:08 -0700 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2012-08-10 10:15:01 -0700 |
commit | a9bd433c7fbee09beb71f14f7fb0b49e6466a3dc (patch) | |
tree | 03075929e86301e0bf8915969762ae477ea9e6fc /utils | |
parent | 97198ca0d8ea3c1872ecb18f45d0665e6dbf5975 (diff) | |
download | raptor-a9bd433c7fbee09beb71f14f7fb0b49e6466a3dc.tar.gz |
CMake build framework for Raptor - win32
This commit is based on the email with patch that Daniel Richard G.
sent to redland-dev on 5th July 2012
http://lists.librdf.org/pipermail/redland-dev/2012-July/002502.html
I lightly edited the email to fit into 80 chars and make more it
markdowny and turn it into win32/README.md
-- Dave Beckett
Diffstat (limited to 'utils')
-rw-r--r-- | utils/CMakeLists.txt | 26 | ||||
-rw-r--r-- | utils/Makefile.am | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt new file mode 100644 index 00000000..3c76e1b5 --- /dev/null +++ b/utils/CMakeLists.txt @@ -0,0 +1,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_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 share/man/man1) +INSTALL(TARGETS rapper DESTINATION bin) + +# end raptor/utils/CMakeLists.txt diff --git a/utils/Makefile.am b/utils/Makefile.am index 1a434b78..81f0a391 100644 --- a/utils/Makefile.am +++ b/utils/Makefile.am @@ -47,6 +47,7 @@ ANALYZE_COMMAND = $(ANALYZE) \ EXTRA_DIST= \ +CMakeLists.txt \ rapper.html \ $(man_MANS) |