]> Creatis software - creaToolsTools.git/commitdiff
#2787 creaToolsTools Bug New Normal - Fedora 23 : executable not linking with share...
authorEduardo DAVILA <davila@localhost.localdomain>
Wed, 30 Dec 2015 11:14:53 +0000 (12:14 +0100)
committerEduardo DAVILA <davila@localhost.localdomain>
Wed, 30 Dec 2015 11:14:53 +0000 (12:14 +0100)
12 files changed:
Linux/scripts/bbtkGEditorVariables.sh
Linux/scripts/bbtkVariables.sh
Linux/scripts/creaBrukerVariables.sh
Linux/scripts/creaContoursVariables.sh
Linux/scripts/creaImageIOVariables.sh
Linux/scripts/creaMaracasVariables.sh
Linux/scripts/creaMiniToolsVariables.sh
Linux/scripts/creaRigidRegistrationVariables.sh
Linux/scripts/creaToolsVariables.sh
Linux/scripts/creaVariables.sh
Linux/scripts/creaVtkVariables.sh
Linux/scripts/creaenvironmentVariables.sh

index ae12daa8c60a2929519194d9eca0db1d46c05dd5..5f8828c91c1fc536cfb967f0bdccd72d88bca3c1 100644 (file)
@@ -28,6 +28,7 @@
 binfolder=$2/creatools_bin/$1Bin
 cd $binfolder
 
+cmake -D CMAKE_CXX_FLAGS:STRING=-fPIC                                 CMakeCache.txt
 cmake -D crea_DIR:PATH=$2/creatools_bin/creaBin                       CMakeCache.txt
 cmake -D BBTK_DIR:PATH=$2/creatools_bin/bbtkBin                       CMakeCache.txt
 cmake -D creaMaracasVisu_DIR:PATH=$2/creatools_bin/creaMaracasVisuBin CMakeCache.txt
index 575fcd37ba7729d52e67eee4976f97f40ae48bd7..b9fa9a51966d87fcf158f0b1c1c2d3177ed5c82c 100644 (file)
@@ -42,7 +42,7 @@ boolgdcm2=OFF
 boolgdcm1=ON
 fi
 
-cmake -D crea_DIR:PATH=$2/creatools_bin/creaBin CMakeCache.txt
+cmake -D CMAKE_CXX_FLAGS:STRING=-fPIC -D crea_DIR:PATH=$2/creatools_bin/creaBin CMakeCache.txt
 cmake -D --BUILD_ALL:BOOL=ON CMakeCache.txt
 echo =============================================================================================
 echo cmake -D USE_GDCM2:BOOL=$boolgdcm2 -D USE_GDCM:BOOL=$boolgdcm1 -D BUILD_BBTK_DOC_GUIDES_HTML:BOOL=$3 -D BUILD_BBTK_DOC_GUIDES_PDF:BOOL=$3 -D BUILD_BBTK_DOC_DOXYGEN:BOOL=$3 -D BUILD_BBTK_DOC_PACKAGE:BOOL=$3 CMakeCache.txt
index 043218b1e32e9e7828b72c18d854a9b10216c742..0a81b1ea49be8c0aa572e96eff85b1bee08a9f6d 100644 (file)
@@ -43,7 +43,7 @@ boolgdcm1=ON
 fi
 
 #cmake -D BUILD_ALL:BOOL=OFF                                                                    CMakeCache.txt
-cmake -D BUILD_creaBruker_DOC:BOOL=$3  -D USE_GDCM2:BOOL=$boolgdcm2 -D USE_GDCM:BOOL=$boolgdcm1 CMakeCache.txt
+cmake -D CMAKE_CXX_FLAGS:STRING=-fPIC  -D BUILD_creaBruker_DOC:BOOL=$3  -D USE_GDCM2:BOOL=$boolgdcm2 -D USE_GDCM:BOOL=$boolgdcm1 CMakeCache.txt
 cmake -D crea_DIR:PATH=$2/creatools_bin/creaBin                                                 CMakeCache.txt
 cmake -D BUILD_DOXYGEN_DOC:BOOL=$3                                                              CMakeCache.txt
 
index d79d7c3b63c0a8b9868e4af921193f8d26949155..df3e0403db11bcc299352d6e5ceb1037d01e835d 100644 (file)
 binfolder=$2/creatools_bin/$1Bin
 cd $binfolder
 
-cmake -D crea_DIR:PATH=$2/creatools_bin/creaBin       CMakeCache.txt
-cmake -D BBTK_DIR:PATH=$2/creatools_bin/bbtkBin       CMakeCache.txt
-cmake -D BBTK_DIR:PATH=$2/creatools_bin/bbtkBin       CMakeCache.txt
+cmake -D CMAKE_CXX_FLAGS:STRING=-fPIC                                          CMakeCache.txt
+cmake -D crea_DIR:PATH=$2/creatools_bin/creaBin                        CMakeCache.txt
+cmake -D BBTK_DIR:PATH=$2/creatools_bin/bbtkBin                        CMakeCache.txt
+cmake -D BBTK_DIR:PATH=$2/creatools_bin/bbtkBin                        CMakeCache.txt
 cmake -D creaEnvironment_DIR:PATH=$2/creatools_bin/creaEnvironmentBin       CMakeCache.txt
 cmake -D creaMaracasVisu_DIR:PATH=$2/creatools_bin/creaMaracasVisuBin       CMakeCache.txt
-cmake -D creaImageIO_DIR:PATH=$2/creatools_bin/creaImageIOBin       CMakeCache.txt
-cmake -D BUILD_BBTK_PACKAGE_creaContours:BOOL=ON             CMakeCache.txt
-cmake -D creaContours_DOC:BOOL=$3                            CMakeCache.txt
-cmake -D BUILD_BBTK_PACKAGE_creaContours_DOXYGEN_DOC:BOOL=$3 CMakeCache.txt
+cmake -D creaImageIO_DIR:PATH=$2/creatools_bin/creaImageIOBin          CMakeCache.txt
+cmake -D BUILD_BBTK_PACKAGE_creaContours:BOOL=ON               CMakeCache.txt
+cmake -D creaContours_DOC:BOOL=$3                              CMakeCache.txt
+cmake -D BUILD_BBTK_PACKAGE_creaContours_DOXYGEN_DOC:BOOL=$3   CMakeCache.txt
 
 cmake  CMakeCache.txt
 
index 44febc9b697e878c52578a14c1fa9e6379179b3d..077ddd12282ce491a0f283d67e1d47227ff0ba2b 100644 (file)
@@ -43,10 +43,12 @@ boolgdcm2=OFF
 boolgdcm1=ON
 fi
 
-cmake -D crea_DIR:PATH=$currentdir/creatools_bin/creaBin              CMakeCache.txt
-cmake -D BBTK_DIR:PATH=$currentdir/creatools_bin/bbtkBin              CMakeCache.txt
-cmake -D creaBruker_DIR:PATH=$currentdir/creatools_bin/creaBrukerBin  CMakeCache.txt
-cmake -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON                       CMakeCache.txt
+
+cmake -D CMAKE_CXX_FLAGS:STRING=-fPIC                                                          CMakeCache.txt
+cmake -D crea_DIR:PATH=$currentdir/creatools_bin/creaBin               CMakeCache.txt
+cmake -D BBTK_DIR:PATH=$currentdir/creatools_bin/bbtkBin               CMakeCache.txt
+cmake -D creaBruker_DIR:PATH=$currentdir/creatools_bin/creaBrukerBin   CMakeCache.txt
+cmake -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON                        CMakeCache.txt
 cmake -D BUILD_creaImageIO_DOC:BOOL=$3  -D USE_GDCM2:BOOL=$boolgdcm2 -D USE_GDCM:BOOL=$boolgdcm1  CMakeCache.txt
 cmake -D BUILD_BBTK_PACKAGE_creaImageIO_DOXYGEN_DOC:BOOL=$3           CMakeCache.txt
 
index d83569b862654fc8949de08265b3e136a862d269..8ed795309df50755b7ff0c84f5ca129781f0964c 100644 (file)
@@ -32,6 +32,8 @@ currentdir=$2
 binfolder=$2/creatools_bin/$1Bin
 cd $binfolder
 
+
+cmake -D CMAKE_CXX_FLAGS:STRING=-fPIC                            CMakeCache.txt
 cmake -D BBTK_DIR:PATH=$currentdir/creatools_bin/bbtkBin         CMakeCache.txt
 cmake -D crea_DIR:PATH=$currentdir/creatools_bin/creaBin         CMakeCache.txt
 cmake -D BUILD_BBTK_PACKAGE_creaMaracasVisu:BOOL=ON              CMakeCache.txt
index 63c838b64736ca88635e502ee94eb6237796ee2e..c978ac18c9ea2686adeb3b173a5d11dbe84f00d4 100644 (file)
@@ -32,6 +32,7 @@ currentdir=$2
 binfolder=$2/creatools_bin/$1Bin
 cd $binfolder
 
+cmake -D CMAKE_CXX_FLAGS:STRING=-fPIC                             CMakeCache.txt
 cmake -D BBTK_DIR:PATH=$currentdir/creatools_bin/bbtkBin          CMakeCache.txt
 cmake -D crea_DIR:PATH=$currentdir/creatools_bin/creaBin          CMakeCache.txt
 cmake -D BUILD_BBTK_PACKAGE_creaMiniTools:BOOL=ON                 CMakeCache.txt
index 63fde565f9e5398dd0cf3ed7ab99be0a133978db..e1d89bc156de68a71717fe200f51f730b1e5f22f 100644 (file)
@@ -29,8 +29,7 @@
 binfolder=$2/creatools_bin/$1Bin
 cd $binfolder
 
-
-cmake -D crea_DIR:PATH=$currentdir$2 -D BUILD_BBTK_PACKAGE_PackRecalage:BOOL=ON -D BUILD_creaRigidRegistration_DOC:BOOL=$3 -D crea_DIR:PATH=$2/creatools_bin/creaBin CMakeCache.txt
+cmake -D CMAKE_CXX_FLAGS:STRING=-fPIC  -D crea_DIR:PATH=$currentdir$2 -D BUILD_BBTK_PACKAGE_PackRecalage:BOOL=ON -D BUILD_creaRigidRegistration_DOC:BOOL=$3 -D crea_DIR:PATH=$2/creatools_bin/creaBin CMakeCache.txt
 
 cmake CMakeCache.txt
 cmake CMakeCache.txt
index a38e73af60237314e69ab684d1a3ac05e06dca1e..1d0543559a68117cf7f664a004e0cb7f5a0770a0 100644 (file)
@@ -29,7 +29,7 @@
 binfolder=$2/creatools_bin/$1Bin
 cd $binfolder
 
-cmake -D CREATOOLS_SOURCE_PATH:PATH=$currentdir/creatools_bin/ CMakeCache.txt
+cmake -D CMAKE_CXX_FLAGS:STRING=-fPIC -D CREATOOLS_SOURCE_PATH:PATH=$currentdir/creatools_bin/ CMakeCache.txt
 
 cmake  CMakeCache.txt
 
index a2f8daa262684e13a95b03efeafb2d848534913c..e674dce6ccf41f0c28e956a65fc7260072e9a03f 100644 (file)
@@ -31,7 +31,7 @@
 binfolder=$2/creatools_bin/$1Bin
 cd $binfolder
 
-cmake -D CREA_BUILD_VTK:BOOL=ON -D CREA_BUILD_WX:BOOL=ON CMakeCache.txt
+cmake -D CMAKE_CXX_FLAGS:STRING=-fPIC  -D CREA_BUILD_VTK:BOOL=ON -D CREA_BUILD_WX:BOOL=ON CMakeCache.txt
 cmake CMakeCache.txt
 cmake CMakeCache.txt
 
index c7e70534796f44d4e73081531a99feac4dc79bb8..c9ee2babdc25335d280152a394ff96f223af5605 100644 (file)
@@ -32,8 +32,9 @@ currentdir=$2
 binfolder=$2/creatools_bin/$1Bin
 cd $binfolder
 
-cmake -D BBTK_DIR:PATH=$currentdir/creatools_bin/bbtkBin        CMakeCache.txt
-cmake -D crea_DIR:PATH=$currentdir/creatools_bin/creaBin        CMakeCache.txt
+cmake -D CMAKE_CXX_FLAGS:STRING=-fPIC                       CMakeCache.txt
+cmake -D BBTK_DIR:PATH=$currentdir/creatools_bin/bbtkBin    CMakeCache.txt
+cmake -D crea_DIR:PATH=$currentdir/creatools_bin/creaBin    CMakeCache.txt
 cmake -D BUILD_BBTK_PACKAGE_creaVtk:BOOL=ON                    CMakeCache.txt
 cmake -D creaVtk_DOC:BOOL=$3                                   CMakeCache.txt
 cmake -D BUILD_BBTK_PACKAGE_creaVtk_DOXYGEN_DOC:BOOL=$3        CMakeCache.txt
index 37469cfcde1847765cde0360ecb4dc34a5424fad..d47474cdcf3e6820d5177b985ce238ed4bc77569 100644 (file)
@@ -31,7 +31,7 @@
 binfolder=$2/creatools_bin/$1Bin
 cd $binfolder
 
-cmake -D crea_DIR:PATH=$2/creatools_bin/creaBin CMakeCache.txt
+cmake -D CMAKE_CXX_FLAGS:STRING=-fPIC  -D crea_DIR:PATH=$2/creatools_bin/creaBin CMakeCache.txt
 
 cmake  CMakeCache.txt