Skip to content
Snippets Groups Projects
Commit e73b7fa6 authored by mkirsz's avatar mkirsz
Browse files

added install option

parent 8826b3a4
No related branches found
No related tags found
No related merge requests found
......@@ -86,3 +86,11 @@ if(TADAH_BUILD_TESTS)
include(CTest)
add_subdirectory(tests)
endif()
set(TADAH_MLIP_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/include/tadah/MLIP)
file(GLOB MLIP_H CONFIGURE_DEPENDS "*.h" "*.hpp")
install(FILES ${MLIP_H} DESTINATION ${TADAH_MLIP_INSTALL_DIR})
install(DIRECTORY analytics DESTINATION ${TADAH_MLIP_INSTALL_DIR} FILES_MATCHING REGEX "(.+.h|.+.hpp)")
install(DIRECTORY design_matrix DESTINATION ${TADAH_MLIP_INSTALL_DIR} FILES_MATCHING REGEX "(.+.h|.+.hpp)")
install(DIRECTORY models DESTINATION ${TADAH_MLIP_INSTALL_DIR} FILES_MATCHING REGEX "(.+.h|.+.hpp)")
install(DIRECTORY output DESTINATION ${TADAH_MLIP_INSTALL_DIR} FILES_MATCHING REGEX "(.+.h|.+.hpp)")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment