From 5205e8811385a0f991574b8d7f12d553af00e161 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Fri, 1 Jun 2007 06:25:51 +0000 Subject: [PATCH] adding more CMakeLists, now tvmet is fully installed. --- tvmet-1.7.1/include/CMakeLists.txt | 2 +- tvmet-1.7.1/include/tvmet/CMakeLists.txt | 8 ++++++-- tvmet-1.7.1/include/tvmet/loop/CMakeLists.txt | 6 ++++++ tvmet-1.7.1/include/tvmet/meta/CMakeLists.txt | 6 ++++++ tvmet-1.7.1/include/tvmet/xpr/CMakeLists.txt | 6 ++++++ 5 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 tvmet-1.7.1/include/tvmet/loop/CMakeLists.txt create mode 100644 tvmet-1.7.1/include/tvmet/meta/CMakeLists.txt create mode 100644 tvmet-1.7.1/include/tvmet/xpr/CMakeLists.txt diff --git a/tvmet-1.7.1/include/CMakeLists.txt b/tvmet-1.7.1/include/CMakeLists.txt index 437795d71..ba566de2e 100644 --- a/tvmet-1.7.1/include/CMakeLists.txt +++ b/tvmet-1.7.1/include/CMakeLists.txt @@ -1 +1 @@ -add_subdirectory(tvmet) \ No newline at end of file +ADD_SUBDIRECTORY(tvmet) \ No newline at end of file diff --git a/tvmet-1.7.1/include/tvmet/CMakeLists.txt b/tvmet-1.7.1/include/tvmet/CMakeLists.txt index 0194b0b6c..11113b4ad 100644 --- a/tvmet-1.7.1/include/tvmet/CMakeLists.txt +++ b/tvmet-1.7.1/include/tvmet/CMakeLists.txt @@ -20,7 +20,7 @@ CHECK_LONG_DOUBLE (TVMET_HAVE_LONG_DOUBLE) CHECK_LONG_DOUBLE (TVMET_HAVE_LONG_LONG) # the following are directories where stuff will be installed to -set(INCLUDE_INSTALL_DIR +SET(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include/tvmet" CACHE PATH "The subdirectory to the header prefix" @@ -29,8 +29,12 @@ set(INCLUDE_INSTALL_DIR CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${INCLUDE_INSTALL_DIR}/config.h) -install(FILES +INSTALL(FILES ${tvmet_header_SRCS} DESTINATION ${INCLUDE_INSTALL_DIR} ) +ADD_SUBDIRECTORY(loop) +ADD_SUBDIRECTORY(meta) +ADD_SUBDIRECTORY(xpr) +# don't install the util/ subdirectory as it's only used for examples and tests \ No newline at end of file diff --git a/tvmet-1.7.1/include/tvmet/loop/CMakeLists.txt b/tvmet-1.7.1/include/tvmet/loop/CMakeLists.txt new file mode 100644 index 000000000..db60d4ce1 --- /dev/null +++ b/tvmet-1.7.1/include/tvmet/loop/CMakeLists.txt @@ -0,0 +1,6 @@ +FILE(GLOB tvmet_loop_header_SRCS "*.h") + +INSTALL(FILES + ${tvmet_loop_header_SRCS} + DESTINATION ${INCLUDE_INSTALL_DIR}/loop + ) diff --git a/tvmet-1.7.1/include/tvmet/meta/CMakeLists.txt b/tvmet-1.7.1/include/tvmet/meta/CMakeLists.txt new file mode 100644 index 000000000..0f65437c3 --- /dev/null +++ b/tvmet-1.7.1/include/tvmet/meta/CMakeLists.txt @@ -0,0 +1,6 @@ +FILE(GLOB tvmet_meta_header_SRCS "*.h") + +INSTALL(FILES + ${tvmet_meta_header_SRCS} + DESTINATION ${INCLUDE_INSTALL_DIR}/meta + ) diff --git a/tvmet-1.7.1/include/tvmet/xpr/CMakeLists.txt b/tvmet-1.7.1/include/tvmet/xpr/CMakeLists.txt new file mode 100644 index 000000000..06cf78c0c --- /dev/null +++ b/tvmet-1.7.1/include/tvmet/xpr/CMakeLists.txt @@ -0,0 +1,6 @@ +FILE(GLOB tvmet_xpr_header_SRCS "*.h") + +INSTALL(FILES + ${tvmet_xpr_header_SRCS} + DESTINATION ${INCLUDE_INSTALL_DIR}/xpr + )