adding more CMakeLists, now tvmet is fully installed.

This commit is contained in:
Benoit Jacob 2007-06-01 06:25:51 +00:00
parent eab54b49ea
commit 5205e88113
5 changed files with 25 additions and 3 deletions

View File

@ -1 +1 @@
add_subdirectory(tvmet)
ADD_SUBDIRECTORY(tvmet)

View File

@ -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

View File

@ -0,0 +1,6 @@
FILE(GLOB tvmet_loop_header_SRCS "*.h")
INSTALL(FILES
${tvmet_loop_header_SRCS}
DESTINATION ${INCLUDE_INSTALL_DIR}/loop
)

View File

@ -0,0 +1,6 @@
FILE(GLOB tvmet_meta_header_SRCS "*.h")
INSTALL(FILES
${tvmet_meta_header_SRCS}
DESTINATION ${INCLUDE_INSTALL_DIR}/meta
)

View File

@ -0,0 +1,6 @@
FILE(GLOB tvmet_xpr_header_SRCS "*.h")
INSTALL(FILES
${tvmet_xpr_header_SRCS}
DESTINATION ${INCLUDE_INSTALL_DIR}/xpr
)