Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 53327436 authored by testcdash Nicolas Bellot's avatar testcdash Nicolas Bellot Committed by hhakim
Browse files

No commit message

No commit message
parent 19070691
Branches
Tags
No related merge requests found
...@@ -4,6 +4,12 @@ check_external_includes("Eigen/Dense" EIGEN_INC_DIR 0) # on test avec INCLUDE_PA ...@@ -4,6 +4,12 @@ check_external_includes("Eigen/Dense" EIGEN_INC_DIR 0) # on test avec INCLUDE_PA
if (EIGEN_INC_DIR) if (EIGEN_INC_DIR)
message(STATUS "Eigen library is available here: ${EIGEN_INC_DIR}") message(STATUS "Eigen library is available here: ${EIGEN_INC_DIR}")
else (EIGEN_INC_DIR) else (EIGEN_INC_DIR)
message(STATUS "------------------------------------------------")
message(STATUS "------------------------------------------------")
message(STATUS "------------- EIGEN LIB INSTALLATION -----------")
message(STATUS "------------------------------------------------")
message(STATUS "------------------------------------------------")
if(UNIX) if(UNIX)
#exec_program("which hg | xargs echo" OUTPUT_VARIABLE MERCURIAL_HG_PATH_DIR) #exec_program("which hg | xargs echo" OUTPUT_VARIABLE MERCURIAL_HG_PATH_DIR)
#exec_program("readlink ${MERCURIAL_HG_PATH_DIR}" OUTPUT_VARIABLE READLINK_TMP) #exec_program("readlink ${MERCURIAL_HG_PATH_DIR}" OUTPUT_VARIABLE READLINK_TMP)
...@@ -12,11 +18,7 @@ else (EIGEN_INC_DIR) ...@@ -12,11 +18,7 @@ else (EIGEN_INC_DIR)
# Eigen library come from following link. You can modifying svn version of eigen for latest stable release version. # Eigen library come from following link. You can modifying svn version of eigen for latest stable release version.
#exec_program("wget -P ${CMAKE_SOURCE_DIR}/externals/tmp https://bitbucket.org/eigen/eigen/get/3.2.8.tar.bz2") #exec_program("wget -P ${CMAKE_SOURCE_DIR}/externals/tmp https://bitbucket.org/eigen/eigen/get/3.2.8.tar.bz2")
message(STATUS "------------------------------------------------")
message(STATUS "------------------------------------------------")
message(STATUS "------------- EIGEN LIB INSTALLATION -----------")
message(STATUS "------------------------------------------------")
message(STATUS "------------------------------------------------")
set(EIGEN_LIB_NAME "3.2.8.tar.bz2") set(EIGEN_LIB_NAME "3.2.8.tar.bz2")
exec_program("tar jxf ${CMAKE_SOURCE_DIR}/externals/unix/tarLibs/${EIGEN_LIB_NAME} -C ${CMAKE_SOURCE_DIR}/externals/unix") exec_program("tar jxf ${CMAKE_SOURCE_DIR}/externals/unix/tarLibs/${EIGEN_LIB_NAME} -C ${CMAKE_SOURCE_DIR}/externals/unix")
exec_program("rm -r ${CMAKE_SOURCE_DIR}/externals/unix/eigen") exec_program("rm -r ${CMAKE_SOURCE_DIR}/externals/unix/eigen")
...@@ -26,7 +28,9 @@ else (EIGEN_INC_DIR) ...@@ -26,7 +28,9 @@ else (EIGEN_INC_DIR)
elseif(WIN32) elseif(WIN32)
#exec_program("wget -P ${CMAKE_SOURCE_DIR}/externals/win/eigen http://bitbucket.org/eigen/eigen/get/3.2.8.zip") #exec_program("wget -P ${CMAKE_SOURCE_DIR}/externals/win/eigen http://bitbucket.org/eigen/eigen/get/3.2.8.zip")
set(EIGEN_LIB_NAME "eigen-eigen-07105f7124f9.zip") set(EIGEN_LIB_NAME "eigen-eigen-07105f7124f9.zip")
exec_program("tar jxf ${CMAKE_SOURCE_DIR}/externals/win/zipLibs/${EIGEN_LIB_NAME} ${CMAKE_SOURCE_DIR}/externals/win/eigen/") exec_program("rd ${CMAKE_SOURCE_DIR}/externals/win/eigen")
exec_program("7z x ${CMAKE_SOURCE_DIR}/externals/win/zipLibs/${EIGEN_LIB_NAME} -o${CMAKE_SOURCE_DIR}/externals/win -y")
exec_program("move ${CMAKE_SOURCE_DIR}/externals/unix/eigen-* ${CMAKE_SOURCE_DIR}/externals/unix/eigen")
add_include_path(INCLUDE_PATH_LIST_TMP_EIGEN "${PROJECT_SOURCE_DIR}/externals/win/eigen") add_include_path(INCLUDE_PATH_LIST_TMP_EIGEN "${PROJECT_SOURCE_DIR}/externals/win/eigen")
else(UNIX) else(UNIX)
message(WARNING "Unknown type of plateform for library Eigen") message(WARNING "Unknown type of plateform for library Eigen")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment