Commit dff82bab authored by berenger-bramas's avatar berenger-bramas

Update the cmake to enable install :

cmake ..
make
// change cmake cach if needed
make install

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@145 2616d619-271b-44dc-8df4-d4a8f33a7222
parent 88fcd84e
......@@ -36,3 +36,18 @@ INCLUDE_DIRECTORIES(
${CMAKE_BINARY_DIR}/Src
)
# Install lib
install( TARGETS scalfmm ARCHIVE DESTINATION lib )
# Install header
SET(my_include_dirs "Components" "Containers" "Core" "Extensions" "Files" "Fmb" "Utils")
FOREACH(my_dir ${my_include_dirs})
file(GLOB
hpp_in_dir
${my_dir}/*.hpp
)
INSTALL( FILES ${hpp_in_dir} DESTINATION include/${my_dir} )
ENDFOREACH()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment