mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-24 02:29:33 +08:00
adding more CMakeLists, now tvmet is fully installed.
This commit is contained in:
parent
eab54b49ea
commit
5205e88113
@ -1 +1 @@
|
||||
add_subdirectory(tvmet)
|
||||
ADD_SUBDIRECTORY(tvmet)
|
@ -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
|
6
tvmet-1.7.1/include/tvmet/loop/CMakeLists.txt
Normal file
6
tvmet-1.7.1/include/tvmet/loop/CMakeLists.txt
Normal file
@ -0,0 +1,6 @@
|
||||
FILE(GLOB tvmet_loop_header_SRCS "*.h")
|
||||
|
||||
INSTALL(FILES
|
||||
${tvmet_loop_header_SRCS}
|
||||
DESTINATION ${INCLUDE_INSTALL_DIR}/loop
|
||||
)
|
6
tvmet-1.7.1/include/tvmet/meta/CMakeLists.txt
Normal file
6
tvmet-1.7.1/include/tvmet/meta/CMakeLists.txt
Normal file
@ -0,0 +1,6 @@
|
||||
FILE(GLOB tvmet_meta_header_SRCS "*.h")
|
||||
|
||||
INSTALL(FILES
|
||||
${tvmet_meta_header_SRCS}
|
||||
DESTINATION ${INCLUDE_INSTALL_DIR}/meta
|
||||
)
|
6
tvmet-1.7.1/include/tvmet/xpr/CMakeLists.txt
Normal file
6
tvmet-1.7.1/include/tvmet/xpr/CMakeLists.txt
Normal file
@ -0,0 +1,6 @@
|
||||
FILE(GLOB tvmet_xpr_header_SRCS "*.h")
|
||||
|
||||
INSTALL(FILES
|
||||
${tvmet_xpr_header_SRCS}
|
||||
DESTINATION ${INCLUDE_INSTALL_DIR}/xpr
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user