]> Creatis software - creaToolsTools.git/commitdiff
Feature 2004 Windows generation creatools installer. Merging in one proces Debug...
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 30 Apr 2013 14:24:31 +0000 (16:24 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 30 Apr 2013 14:24:31 +0000 (16:24 +0200)
33 files changed:
Install/creatools.bat_TEMPLATE
Install/scripts/All.bat
Install/scripts/base/cleangeneral.bat
Install/scripts/base/cleanmod.bat
Install/scripts/base/cmakemod.bat
Install/scripts/base/compilemod.bat
Install/scripts/base/configureVariables.bat
Install/scripts/base/ctestmod.bat
Install/scripts/base/downloadSources.bat
Install/scripts/bbtk/bbtkInstall.bat
Install/scripts/bbtk/bbtkVariables.bat
Install/scripts/bbtkGEditor/bbtkGEditorInstall.bat
Install/scripts/bbtkGEditor/bbtkGEditorVariables.bat
Install/scripts/crea/creaInstall.bat
Install/scripts/crea/creaVariables.bat
Install/scripts/creaBruker/creaBrukerInstall.bat
Install/scripts/creaBruker/creaBrukerVariables.bat
Install/scripts/creaContours/creaContoursInstall.bat
Install/scripts/creaContours/creaContoursVariables.bat
Install/scripts/creaEnvironment/creaEnvironmentInstall.bat
Install/scripts/creaEnvironment/creaenvironmentVariables.bat
Install/scripts/creaImageIO/creaImageIOInstall.bat
Install/scripts/creaImageIO/creaImageIOVariables.bat
Install/scripts/creaMaracasVisu/creaMaracasVariables.bat
Install/scripts/creaMaracasVisu/creaMaracasVisuInstall.bat
Install/scripts/creaRigidRegistration/creaRigidRInstall.bat
Install/scripts/creaRigidRegistration/creaRigidRegistrationVariables.bat
Install/scripts/creaTools/compilemodCreaTools.bat
Install/scripts/creaTools/creaMiniToolsVariables.bat
Install/scripts/creaTools/creaMinitoolsInstall.bat
Install/scripts/creaTools/creaToolsInstall.bat
Install/scripts/creaTools/creaToolsVariables.bat
Install_ThirdParty/cmake/crea_ThirdParty_Libraries/Version.txt.in

index 4f0c6af44339049d49291362fdd748255deeb52d..78e0e9672dfc50af484eb330ae2d023a4e73c5e3 100644 (file)
@@ -23,14 +23,10 @@ REM ------------------------------------------------------------------------
 
 @echo off
 set creatoolsGeneration=<directory where you want to generate>
-set installPrefix=%creatoolsGeneration%\creatools_install
-set buildType=<Debug|Release>
 set docGeneration=<OFF|ON> let it to OFF!
-::Set the following line ON if you want to force x86 compilation
-set forcex86=OFF
 
 cd scripts
-call All.bat %creatoolsGeneration% %docGeneration% %installPrefix% %buildType% %forcex86%
+call All.bat %creatoolsGeneration% %docGeneration%
 cd ..
 pause
 exit
index 4e38a6174b0093a2bc9d1081f2ef4a1e24ead6f3..6d3cbb64eea4e37ba1e3739aa1b88647462259f0 100644 (file)
@@ -24,13 +24,9 @@ REM ------------------------------------------------------------------------
 @echo off
 
 set creatoolsGeneration=%1
-set docgeneration=%2
-set installPrefix=%3
-set buildtype=%4
-set forcex86=%5
+set docGeneration=%2
 
 set scriptsFolder=%cd%
-set logFolder=%creatoolsGeneration%\installLog
 
 
 rmdir %logFolder% /s /q
@@ -39,40 +35,21 @@ mkdir %logFolder%
 echo call configure variables
 call %scriptsFolder%\base\configureVariables.bat
 
-REM    goto skypeEED
+::echo call Download Sources
+::start /B /wait %scriptsFolder%\base\downloadSources.bat
 
-echo call Download Sources
-start /B /wait %scriptsFolder%\base\downloadSources.bat
 
-echo call compile crea
-start /B /wait %scriptsFolder%\crea\creaInstall.bat
-echo call compile bbtk
-start /B /wait %scriptsFolder%\bbtk\bbtkInstall.bat
-echo call compile creaMaracasVisu
-start /B /wait %scriptsFolder%\creaMaracasVisu\creaMaracasVisuInstall.bat
-echo call compile creaEnvironment
-start /B /wait %scriptsFolder%\creaEnvironment\creaEnvironmentInstall.bat
-echo call compile creaBruker
-start /B /wait %scriptsFolder%\creaBruker\creaBrukerInstall.bat
-echo call compile creaImageIO
-start /B /wait %scriptsFolder%\creaImageIO\creaImageIOInstall.bat
-echo call compile creaContours
-start /B /wait %scriptsFolder%\creaContours\creaContoursInstall.bat
-echo call compile creaRigidRegistration
-start /B /wait %scriptsFolder%\creaRigidRegistration\creaRigidRInstall.bat
-echo call compile bbtkGEditor
-start /B /wait %scriptsFolder%\bbtkGEditor\bbtkGEditorInstall.bat
-echo call compile creaMinitools
-start /B /wait %scriptsFolder%\creaTools\creaMinitoolsInstall.bat
+cd %scriptsFolder%
+echo %cd%
+call All2.bat %creatoolsGeneration% %docGeneration% Debug Win32
+cd %scriptsFolder%
+call All2.bat %creatoolsGeneration% %docGeneration% Debug Win64
+cd %scriptsFolder%
+call All2.bat %creatoolsGeneration% %docGeneration% Release Win32 
+cd %scriptsFolder%
+call All2.bat %creatoolsGeneration% %docGeneration% Release Win64
+echo ..End..
 
+cd %scriptsFolder%
 
 
-REM    :skypeEED
-
-echo  THIS HAS TO BE THE LAST STEP...
-echo call compile creaTools
-start /B /wait %scriptsFolder%\creaTools\creaToolsInstall.bat
-echo To see the log files of this install please go to %LogFolder%
-
-exit /B
-
index a67f4241d43216b95010eb90de610fc5dcaf7d33..6c3d56043f9f05bc97487181a1a3463f1d5471d2 100644 (file)
@@ -31,10 +31,10 @@ echo creatoolsGeneration = %1
 echo installPrefix = %2
 
 rmdir %2 /s /q
-rmdir %1\creatools_bin /s /q
 rmdir %1\creatools_sources /s /q
-rmdir %1\creatools_install /s /q
-rmdir %1\Result_Installers /s /q
-mkdir %1\Result_Installers
+rmdir %1\creatools_DebugWin32 /s /q
+rmdir %1\creatools_DebugWin64 /s /q
+rmdir %1\creatools_ReleaseWin32 /s /q
+rmdir %1\creatools_ReleaseWin64 /s /q
 
 exit /B
\ No newline at end of file
index 86f1ef0a5a6b78700c72351f93a2a7b14b33cfc8..d76adcf1bea1027b721c7960b6d9d6fb9d3648c6 100644 (file)
@@ -31,7 +31,7 @@ echo creasourcefolder = %1
 echo creatoolsGeneration = %2
 
 
-set binfolder=%2\creatools_bin\%1Bin
+set binfolder=%2\creatools_%buildtype%%platforme%\creatools_bin\%1Bin
 mkdir %binfolder%
 cd %binfolder%
 del CMakeCache.txt
index 80241151f506f0cdfa8990d891a828d6b26fb77e..370f66f5a029ea9bd7a622e2ebbb0819a560619e 100644 (file)
@@ -26,7 +26,7 @@ echo ----------------------------
 echo -------cmakemod.bat---------
 echo ----------------------------
 
-echo buildtype = %1 
+echo creasource = %1 
 echo installPrefix = %2
 echo creatoolsGeneration = %3
 
@@ -46,7 +46,7 @@ if not exist %vcvarsall% (
   exit
 )
 
-if %forcex86%==ON (
+if %platforme%==Win32 (
        call %vcvarsall%
        set "compilerVersion=Visual Studio 10"
        echo "Compilation forced x86"
@@ -58,10 +58,10 @@ if %forcex86%==ON (
        )
 )
 
-set binfolder=%3\creatools_bin\%1Bin
+set binfolder=%3\creatools_%buildtype%%platforme%\creatools_bin\%1Bin
 cd %binfolder%
 
-cmake -G"%compilerVersion%" -H%3\creatools_sources\%1 -B%3\creatools_bin\%1Bin
+cmake -G"%compilerVersion%" -H%3\creatools_sources\%1 -B%3\creatools_%buildtype%%platforme%\creatools_bin\%1Bin
 cmake -D INCLUDE_CTEST:BOOL=ON -D CMAKE_INSTALL_PREFIX:PATH=%2\%1 CMakeCache.txt
 
 exit /B
\ No newline at end of file
index 1ae7c027a99ec47852f7ef806e85ea473d5c55cf..73bbe4c4837b88dc53a5afe3132dfc8142d8ba55 100644 (file)
@@ -46,7 +46,7 @@ if not exist %vcvarsall% (
   exit
 )
 
-if %forcex86%==ON (
+if %platforme%==Win32 (
        call %vcvarsall%
        set "compilerVersion=Visual Studio 10"
        echo "Compilation forced x86"
@@ -58,12 +58,11 @@ if %forcex86%==ON (
        )
 )
 
-
-set binfolder=%3\creatools_bin\%2Bin
+set binfolder=%3\creatools_%buildtype%%platforme%\creatools_bin\%2Bin
 cd %binfolder%
 FOR /R %%a IN (*.sln) DO msbuild %%a /p:UseEnv=true;BuildInParallel=true;Configuration=%1
 msbuild /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Configuration=%1 ALL_BUILD.vcxproj
 msbuild /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Configuration=%1 INSTALL.vcxproj
 msbuild /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Configuration=%1 PACKAGE.vcxproj
-copy %2*.exe %3\Result_Installers\
+copy %2*.exe %3\creatools_%buildtype%%platforme%\Result_Installers\
 exit /B
\ No newline at end of file
index 6ac7fbd6bbeee540a93e5b4e73fbfce16f831227..15a115a3a0800c083910ea84569c382443f2c613 100644 (file)
@@ -38,29 +38,28 @@ set creatoolssource=creaTools
 set creaminitoolssource=creaMiniTools
 
 set baseFolder=%scriptsFolder%\base
-set creadll=%creatoolsGeneration%\creatools_bin\%creasource%Bin\%buildtype%
+set creadll=%creatoolsGeneration%\creatools_%buildtype%%platforme%\creatools_bin\%creasource%Bin\%buildtype%
 set PATH=%creadll%;%PATH%
-set bbtkdll=%creatoolsGeneration%\creatools_bin\%bbtksource%Bin\%buildtype%
+set bbtkdll=%creatoolsGeneration%\creatools_%buildtype%%platforme%\creatools_bin\%bbtksource%Bin\%buildtype%
 set PATH=%bbtkdll%;%PATH%
-set creamaracasdll=%creatoolsGeneration%\creatools_bin\%creamaracassource%Bin\%buildtype%
+set creamaracasdll=%creatoolsGeneration%\creatools_%buildtype%%platforme%\creatools_bin\%creamaracassource%Bin\%buildtype%
 set PATH=%creamaracasdll%;%PATH%
-set creaenvironmentdll=%creatoolsGeneration%\creatools_bin\%creaenvironmentsource%Bin\%buildtype%
+set creaenvironmentdll=%creatoolsGeneration%\creatools_%buildtype%%platforme%\creatools_bin\%creaenvironmentsource%Bin\%buildtype%
 set PATH=%creaenvironmentdll%;%PATH%
-set creabrukerdll=%creatoolsGeneration%\creatools_bin\%creabrukersource%Bin\%buildtype%
+set creabrukerdll=%creatoolsGeneration%\creatools_%buildtype%%platforme%\creatools_bin\%creabrukersource%Bin\%buildtype%
 set PATH=%creabrukerdll%;%PATH%
-set creaimagedll=%creatoolsGeneration%\creatools_bin\%creaimagesource%Bin\%buildtype%
+set creaimagedll=%creatoolsGeneration%\creatools_%buildtype%%platforme%\creatools_bin\%creaimagesource%Bin\%buildtype%
 set PATH=%creaimagedll%;%PATH%
-set creacontourdll=%creatoolsGeneration%\creatools_bin\%creacontourssource%Bin\%buildtype%
+set creacontourdll=%creatoolsGeneration%\creatools_%buildtype%%platforme%\creatools_bin\%creacontourssource%Bin\%buildtype%
 set PATH=%creacontoursdll%;%PATH%
-set crearigidregistrationdll=%creatoolsGeneration%\creatools_bin\%crearigidregistrationssource%Bin\%buildtype%
+set crearigidregistrationdll=%creatoolsGeneration%\creatools_%buildtype%%platforme%\creatools_bin\%crearigidregistrationssource%Bin\%buildtype%
 set PATH=%crearigidregistrationdll%;%PATH%
-set bbtkgeditordll=%creatoolsGeneration%\creatools_bin\%bbtkgeditorsource%Bin\%buildtype%
+set bbtkgeditordll=%creatoolsGeneration%\creatools_%buildtype%%platforme%\creatools_bin\%bbtkgeditorsource%Bin\%buildtype%
 set PATH=%bbtkgeditordll%;%PATH%
-set creaminitoolsdll=%creatoolsGeneration%\creatools_bin\%creaminitoolssource%Bin\%buildtype%
+set creaminitoolsdll=%creatoolsGeneration%\creatools_%buildtype%%platforme%\creatools_bin\%creaminitoolssource%Bin\%buildtype%
 set PATH=%creaminitoolsdll%;%PATH%
-set creatoolsdll=%creatoolsGeneration%\creatools_bin\%creatoolssource%Bin\%buildtype%
+set creatoolsdll=%creatoolsGeneration%\creatools_%buildtype%%platforme%\creatools_bin\%creatoolssource%Bin\%buildtype%
 set PATH=%creatoolssdll%;%PATH%
 
 echo End setting variables
 
-exit /B
index 748bfec8ac9280603c616ae012c2b856ed15c3b9..3f155e87c480b72841f102fdbb4e1bc3a4d296c5 100644 (file)
@@ -28,7 +28,7 @@ echo ----------------------------
 echo Module Sources = %1
 echo creatoolsGeneration = %2
 
-set binfolder=%2\creatools_bin\%1Bin
+set binfolder=%2\creatools_%buildtype%%platforme%\creatools_bin\%1Bin
 
 cd %binfolder%
 
index 2fc4f567102c702ac647dd153feee8cf6c155ca4..ed5b1ca8d3251724f78fe6d29a9e0d0111af91ed 100644 (file)
@@ -28,29 +28,23 @@ echo cleaning prefix
 
 echo downloading creatools software
 
-:: call %baseFolder%\cvscheckout.bat %creasource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
-:: call %baseFolder%\cvscheckout.bat %bbtksource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
-:: call %baseFolder%\cvscheckout.bat %creamaracassource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
-:: call %baseFolder%\cvscheckout.bat %creaenvironmentsource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
-:: call %baseFolder%\cvscheckout.bat %creabrukersource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
-:: call %baseFolder%\cvscheckout.bat %creaimagesource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
-:: call %baseFolder%\cvscheckout.bat %creacontourssource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
-:: call %baseFolder%\cvscheckout.bat %crearigidregistrationssource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
-:: call %baseFolder%\cvscheckout.bat %bbtkgeditorsource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
-:: call %baseFolder%\cvscheckout.bat %creatoolssource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
-:: call %baseFolder%\cvscheckout.bat %creaminitoolssource% %cvsUser% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
-
- call %baseFolder%\gitclone.bat %creasource% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\gitclone.bat %bbtksource% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\gitclone.bat %creamaracassource% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\gitclone.bat %creaenvironmentsource% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\gitclone.bat %creabrukersource% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\gitclone.bat %creaimagesource% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\gitclone.bat %creacontourssource% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\gitclone.bat %crearigidregistrationssource% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\gitclone.bat %bbtkgeditorsource% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\gitclone.bat %creatoolssource% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
- call %baseFolder%\gitclone.bat %creaminitoolssource% %creatoolsGeneration% >> %logFolder%\downloadSources.log 2>&1
+echo echo tmp.sh > tmp.sh
+set creatoolsGeneration2=%creatoolsGeneration:\=/%
+echo mkdir %creatoolsGeneration2% >> tmp.sh
+echo mkdir %creatoolsGeneration2%/creatools_sources >> tmp.sh
+echo cd %creatoolsGeneration2%/creatools_sources    >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creasource%  >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%bbtksource%  >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creamaracassource%  >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creaenvironmentsource%  >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creabrukersource%  >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creaimagesource%  >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creacontourssource%  >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%crearigidregistrationssource%  >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%bbtkgeditorsource%  >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creatoolssource%  >> tmp.sh
+echo git clone ssh://gitolite@git.creatis.insa-lyon.fr/%creaminitoolssource%  >> tmp.sh
+call gitcall.bat "%cd%\tmp.sh"
 
  
  echo end of downloading creatools software
index a74fc370f69f9f31b4705d08ace540549e27bf1d..52ff6c167e6cdf4bf953f2cd49982b4e85d1bf8b 100644 (file)
@@ -25,8 +25,7 @@ REM ------------------------------------------------------------------------
 
 set currentdir=%~dp0
 
-
-echo compile bbtk
+echo compile bbtk %buildType% %platforme%
 call %baseFolder%\cleanmod.bat %bbtksource% %creatoolsGeneration% >> %logFolder%\bbtkInstall.log 2>&1
 call %baseFolder%\cmakemod.bat %bbtksource%  %installPrefix% %creatoolsGeneration% >> %logFolder%\bbtkInstall.log 2>&1
 call %currentdir%\bbtkVariables.bat %creatoolsGeneration% %bbtksource% %docgeneration% %buildtype% >> %logFolder%\bbtkInstall.log 2>&1
index 4cc1e3fdd6b50443ee658fec4b584d9aa7fb9893..c1cac65c961bf88dea00f24d3831259749778dfc 100644 (file)
@@ -31,14 +31,14 @@ echo bbtksourcefolder = %2
 echo docgeneration = %3
 echo buildType = %4
 
-set binfolder=%1\creatools_bin\%2Bin
+set binfolder=%1\creatools_%buildtype%%platforme%\creatools_bin\%2Bin
 cd %binfolder%
 
 IF %4==Debug (
        cmake -D WXWIDGETS_USE_DEBUG:BOOL=ON CMakeCache.txt
 )
 
-cmake -D --BUILD_ALL:BOOL=ON -D crea_DIR:PATH=%1\creatools_install\crea CMakeCache.txt
+cmake -D --BUILD_ALL:BOOL=ON -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea CMakeCache.txt
 cmake -D BUILD_BBTK_DOC:BOOL=%3 -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
 
 cmake CMakeCache.txt
index 421b5d99a451dfed550c769af28cc4461f591bb3..78d7e18924d89536aa53280a2df12766e6dd8a39 100644 (file)
@@ -25,7 +25,7 @@ REM ------------------------------------------------------------------------
 
 set currentdir=%~dp0
 
-echo compile bbtkGEditor
+echo compile bbtkGEditor %buildType% %platforme%
 call %baseFolder%\cleanmod.bat %bbtkgeditorsource% %creatoolsGeneration% >> %logFolder%\bbtkGEditorInstall.log 2>&1
 call %baseFolder%\cmakemod.bat %bbtkgeditorsource%  %installPrefix% %creatoolsGeneration% >> %logFolder%\bbtkGEditorInstall.log 2>&1
 call %currentdir%\bbtkGEditorVariables.bat %creatoolsGeneration% %bbtkgeditorsource% %docgeneration% %buildtype% >> %logFolder%\bbtkGEditorInstall.log 2>&1
index 89808bbf0337f803c45ec3cc068fe94658551e92..3737ce2bd3afb11f6d833cc6f1a73942b8e72b3b 100644 (file)
@@ -31,16 +31,16 @@ echo bbtkgeditorsource = %2
 echo docgeneration = %3
 echo buildType = %4
 
-set binfolder=%1\creatools_bin\%2Bin
+set binfolder=%1\creatools_%buildtype%%platforme%\creatools_bin\%2Bin
 cd %binfolder%
 
 IF %4==Debug (
        cmake -D WXWIDGETS_USE_DEBUG:BOOL=ON CMakeCache.txt
 )
 
-cmake -D crea_DIR:PATH=%1\creatools_install\crea CMakeCache.txt
-cmake -D BBTK_DIR:PATH=%1\creatools_install\bbtk CMakeCache.txt
-cmake -D creaMaracasVisu_DIR:PATH=%1\creatools_install\creaMaracasVisu CMakeCache.txt
+cmake -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea CMakeCache.txt
+cmake -D BBTK_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\bbtk CMakeCache.txt
+cmake -D creaMaracasVisu_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\creaMaracasVisu CMakeCache.txt
 cmake -D BUILD_bbtkGEditor_DOC:BOOL=%3 CMakeCache.txt
 cmake CMakeCache.txt
 
index 8afd7b232baf7a221b07a5be01a2c6030106f066..1b345e2ff4ceca98079a782b498ae647e632e3c7 100644 (file)
@@ -21,11 +21,11 @@ REM  The fact that you are presently reading this means that you have had
 REM  knowledge of the CeCILL-B license and that you accept its terms.
 REM ------------------------------------------------------------------------  
 
-@echo off
+REM @echo off
 
 set currentdir=%~dp0
 
-echo Compile crea 
+echo Compile crea %buildType% %platforme%
 call %baseFolder%\cleanmod.bat %creasource% %creatoolsGeneration% >> %logFolder%\creaInstall.log 2>&1
 call %baseFolder%\cmakemod.bat %creasource% %installPrefix% %creatoolsGeneration% >> %logFolder%\creaInstall.log 2>&1
 call %currentdir%\creaVariables.bat %creatoolsGeneration% %creasource% %docgeneration% %buildType% >> %logFolder%\creaInstall.log 2>&1
index 9f18d623e59acd6037ebe60d03b973e751440fd6..04218f55cba6b5cd6ed8332ffc861a7c2596ea89 100644 (file)
@@ -31,7 +31,7 @@ echo creasource = %2
 echo docgeneration = %3
 echo buildType = %4
 
-set binfolder=%1\creatools_bin\%2Bin
+set binfolder=%1\creatools_%buildtype%%platforme%\creatools_bin\%2Bin
 cd %binfolder%
 
 IF %4==Debug (
index 8ba11d67777d5fe53f13171051b2552fd5f78210..5fcfac414404dbe4721587a7fa0094866557b635 100644 (file)
@@ -25,7 +25,7 @@ REM ------------------------------------------------------------------------
 
 set currentdir=%~dp0
 
-echo compile creaBruker
+echo compile creaBruker %buildType% %platforme%
 call %baseFolder%\cleanmod.bat %creabrukersource% %creatoolsGeneration% >> %logFolder%\creaBrukerInstall.log 2>&1
 call %baseFolder%\cmakemod.bat %creabrukersource%  %installPrefix% %creatoolsGeneration% >> %logFolder%\creaBrukerInstall.log 2>&1
 call %currentdir%\creaBrukerVariables.bat %creatoolsGeneration% %creabrukersource% %docgeneration% %buildtype% >> %logFolder%\creaBrukerInstall.log 2>&1
index cf8b1d699448fb2df84ca727e06ce04d34838039..8f67955d7db209a03e2d6ed9e55e7a544a61d1d1 100644 (file)
@@ -31,13 +31,13 @@ echo creabrukersource = %2
 echo docgeneration = %3
 echo buildType = %4
 
-set binfolder=%1\creatools_bin\%2Bin
+set binfolder=%1\creatools_%buildtype%%platforme%\creatools_bin\%2Bin
 cd %binfolder%
 
 IF %4==Debug (
        cmake -D WXWIDGETS_USE_DEBUG:BOOL=ON CMakeCache.txt
 )
 
-cmake -D --BUILD_ALL:BOOL=OFF -D crea_DIR:PATH=%1\creatools_install\crea  -D BUILD_creaBruker_DOC:BOOL=%3 CMakeCache.txt
+cmake -D --BUILD_ALL:BOOL=OFF -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea  -D BUILD_creaBruker_DOC:BOOL=%3 CMakeCache.txt
 
 exit /B
\ No newline at end of file
index 62cff4081766a24b42ab37a5d74d87171c4672fd..5cc847907ad9c6e5250e4995aa0ab1fcc14fd08b 100644 (file)
@@ -25,7 +25,7 @@ REM ------------------------------------------------------------------------
 
 set currentdir=%~dp0
 
-echo compile creaContours
+echo compile creaContours %buildType% %platforme%
 call %baseFolder%\cleanmod.bat %creacontourssource% %creatoolsGeneration% >> %logFolder%\creaContoursInstall.log 2>&1
 call %baseFolder%\cmakemod.bat %creacontourssource%  %installPrefix% %creatoolsGeneration% >> %logFolder%\creaContoursInstall.log 2>&1
 call %currentdir%\creaContoursVariables.bat %creatoolsGeneration% %creacontourssource% %docgeneration% %buildtype% >> %logFolder%\creaContoursInstall.log 2>&1
index fdacd6f8381d2545f6d9bab1f5a5e63e2740bcec..896afdd2ea786477c5d4fa8ac53e96ca42cf03ec 100644 (file)
@@ -31,7 +31,7 @@ echo creacontourssource = %2
 echo docgeneration = %3
 echo buildType = %4
 
-set binfolder=%1\creatools_bin\%2Bin
+set binfolder=%1\creatools_%buildtype%%platforme%\creatools_bin\%2Bin
 cd %binfolder%
 
 IF %4==Debug (
@@ -39,8 +39,8 @@ IF %4==Debug (
 )
 
 echo %1=creabrukersource% %2=docgeneration
-cmake -D crea_DIR:PATH=%1\creatools_install\crea -D creaEnvironment_DIR:PATH=%1\creatools_install\creaEnvironment -D creaMaracasVisu_DIR:PATH=%1\creatools_install\creaMaracasVisu -D creaImageIO_DIR:PATH=%1\creatools_install\creaImageIO CMakeCache.txt
-cmake -D BBTK_DIR:PATH=%1\creatools_install\bbtk CMakeCache.txt
+cmake -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea -D creaEnvironment_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\creaEnvironment -D creaMaracasVisu_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\creaMaracasVisu -D creaImageIO_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\creaImageIO CMakeCache.txt
+cmake -D BBTK_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\bbtk CMakeCache.txt
 cmake -D creaContours_DOC:BOOL=%2 -D BUILD_BBTK_PACKAGE_creaContours_DOXYGEN_DOC:BOOL=%2 CMakeCache.txt
 cmake CMakeCache.txt
 
index fdec51de3029aec89c7992e765807bb84e283ad5..345fe0fdb980f668d20d66209510223f128748d5 100644 (file)
@@ -25,7 +25,7 @@ REM ------------------------------------------------------------------------
 
 set currentdir=%~dp0
 
-echo compile creaEnvironment
+echo compile creaEnvironment %buildType% %platforme%
 call %baseFolder%\cleanmod.bat %creaenvironmentsource% %creatoolsGeneration% >> %logFolder%\creaEnvironmentInstall.log 2>&1
 call %baseFolder%\cmakemod.bat %creaenvironmentsource%  %installPrefix% %creatoolsGeneration% >> %logFolder%\creaEnvironmentInstall.log 2>&1
 call %currentdir%\creaenvironmentVariables.bat %creatoolsGeneration%  %creaenvironmentsource% %docgeneration% %buildtype% >> %logFolder%\creaEnvironmentInstall.log 2>&1
index 6bc6ce3eafdb1ceddf854d2d56e7738be8e03135..b1dd4e3e556d432e8e9980802dd5ca3c11c6cf70 100644 (file)
@@ -31,13 +31,13 @@ echo creamaracassourcefolder = %2
 echo docgeneration = %3
 echo buildType = %4
 
-set binfolder=%1\creatools_bin\%2Bin
+set binfolder=%1\creatools_%buildtype%%platforme%\creatools_bin\%2Bin
 cd %binfolder%
 
 IF %4==Debug (
        cmake -D WXWIDGETS_USE_DEBUG:BOOL=ON CMakeCache.txt
 )
 
-cmake -D crea_DIR:PATH=%1\creatools_install\crea CMakeCache.txt
+cmake -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea CMakeCache.txt
 
 exit /B
\ No newline at end of file
index 93b358dda07ddbd538c4572e68c128238984d579..b9e01eb95a224ee37435e347dfe17569103aeb27 100644 (file)
@@ -25,7 +25,7 @@ REM ------------------------------------------------------------------------
 
 set currentdir=%~dp0
 
-echo compile creaImageIO
+echo compile creaImageIO %buildtype% %platforme%
 call %baseFolder%\cleanmod.bat %creaimagesource% %creatoolsGeneration% >> %logFolder%\creaImageIOInstall.log 2>&1
 call %baseFolder%\cmakemod.bat %creaimagesource%  %installPrefix% %creatoolsGeneration% >> %logFolder%\creaImageIOInstall.log 2>&1
 call %currentdir%\creaImageIOVariables.bat %creatoolsGeneration% %creaimagesource%  %docgeneration% %buildtype% >> %logFolder%\creaImageIOInstall.log 2>&1
index 72a4380ef30bb822d476176ba3cf01395c480b9c..e02015b954b1fb3bf74132dcd1dec09314ab77f9 100644 (file)
@@ -31,15 +31,15 @@ echo creaimagesource = %2
 echo docgeneration = %3
 echo buildType = %4
 
-set binfolder=%1\creatools_bin\%2Bin
+set binfolder=%1\creatools_%buildtype%%platforme%\creatools_bin\%2Bin
 cd %binfolder%
 
 IF %4==Debug (
        cmake -D WXWIDGETS_USE_DEBUG:BOOL=ON CMakeCache.txt
 )
 
-cmake -D BBTK_DIR:PATH=%1\creatools_install\bbtk CMakeCache.txt
-cmake -D crea_DIR:PATH=%1\creatools_install\crea -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON -D creaBruker_DIR:PATH=%1\creatools_install\creaBruker -D USE_GDCM:BOOL=ON CMakeCache.txt
+cmake -D BBTK_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\bbtk CMakeCache.txt
+cmake -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea -D BUILD_BBTK_PACKAGE_creaImageIO:BOOL=ON -D creaBruker_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\creaBruker -D USE_GDCM:BOOL=ON CMakeCache.txt
 cmake -D BUILD_DOXYGEN_DOC:BOOL=%3 -D BUILD_BBTK_PACKAGE_creaImageIO_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt
 cmake CMakeCache.txt
 
index 7e5337d9091eab02d2889d6f0e3353082a42491b..70dd0c9a59b90ee9d68035d8a7fb628cc45fc75e 100644 (file)
@@ -31,15 +31,15 @@ echo creamaracassourcefolder = %2
 echo docgeneration = %3
 echo buildType = %4
 
-set binfolder=%1\creatools_bin\%2Bin
+set binfolder=%1\creatools_%buildtype%%platforme%\creatools_bin\%2Bin
 cd %binfolder%
 
 IF %4==Debug (
        cmake -D WXWIDGETS_USE_DEBUG:BOOL=ON CMakeCache.txt
 )
 
-cmake -D crea_DIR:PATH=%1\creatools_install\crea -D BUILD_BBTK_PACKAGE_creaMaracasVisu:BOOL=ON -D creaMaracasVisu_DOC:BOOL=%3 CMakeCache.txt
-cmake -D BBTK_DIR:PATH=%1\creatools_install\bbtk CMakeCache.txt
+cmake -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea -D BUILD_BBTK_PACKAGE_creaMaracasVisu:BOOL=ON -D creaMaracasVisu_DOC:BOOL=%3 CMakeCache.txt
+cmake -D BBTK_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\bbtk CMakeCache.txt
 cmake -D BUILD_BBTK_PACKAGE_creaMaracasVisu_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt
 cmake CMakeCache.txt
 
index ff7f724dfa0b3f943cc1db4a90f1ebbc31a77869..f08485ac9ae27021f25b65fc8d6ab9d3e57c8c1d 100644 (file)
@@ -25,7 +25,7 @@ REM ------------------------------------------------------------------------
 
 set currentdir=%~dp0
 
-echo compile creaMaracasVisu
+echo compile creaMaracasVisu  %buildtype% %platforme%
 call %baseFolder%\cleanmod.bat %creamaracassource% %creatoolsGeneration% >> %logFolder%\creaMaracasVisuInstall.log 2>&1
 call %baseFolder%\cmakemod.bat %creamaracassource%  %installPrefix% %creatoolsGeneration% >> %logFolder%\creaMaracasVisuInstall.log 2>&1
 call %currentdir%\creaMaracasVariables.bat %creatoolsGeneration% %creamaracassource% %docgeneration% %buildtype% >> %logFolder%\creaMaracasVisuInstall.log 2>&1
index f7282c1a2d5214eb6cece0ee4788bf573de6ae0e..3a901b9f8c1302cd5b29e7fc3735189393f99d8b 100644 (file)
@@ -25,7 +25,7 @@ REM ------------------------------------------------------------------------
 
 set currentdir=%~dp0
 
-echo compile creaRigidRegistration
+echo compile creaRigidRegistration %buildtype% %platforme%
 call %baseFolder%\cleanmod.bat %crearigidregistrationssource% %creatoolsGeneration% >> %logFolder%\creaRigidRInstall.log 2>&1
 call %baseFolder%\cmakemod.bat %crearigidregistrationssource%  %installPrefix% %creatoolsGeneration% >> %logFolder%\creaRigidRInstall.log 2>&1
 call %currentdir%\creaRigidRegistrationVariables.bat %creatoolsGeneration% %crearigidregistrationssource% %docgeneration% %buildtype% >> %logFolder%\creaRigidRInstall.log 2>&1
index 2f298537591fa1cecfaa4a1d93b5d6fe11ca5942..b3508655dd9fd704bf91b4c19f44661de262eaff 100644 (file)
@@ -31,15 +31,15 @@ echo crearigidregistrationssource = %2
 echo docgeneration = %3
 echo buildType = %4
 
-set binfolder=%1\creatools_bin\%2Bin
+set binfolder=%1\creatools_%buildtype%%platforme%\creatools_bin\%2Bin
 cd %binfolder%
 
 IF %4==Debug (
        cmake -D WXWIDGETS_USE_DEBUG:BOOL=ON CMakeCache.txt
 )
 
-cmake -D crea_DIR:PATH=%1\creatools_install\crea -D BUILD_BBTK_PACKAGE_PackRecalage:BOOL=ON CMakeCache.txt
-cmake -D BBTK_DIR:PATH=%1\creatools_install\bbtk CMakeCache.txt
+cmake -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea -D BUILD_BBTK_PACKAGE_PackRecalage:BOOL=ON CMakeCache.txt
+cmake -D BBTK_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\bbtk CMakeCache.txt
 cmake -D BUILD_creaRigidRegistration_DOC:BOOL=%3 -D BUILD_BBTK_PACKAGE_PackRecalage_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt
 cmake CMakeCache.txt
 cmake CMakeCache.txt
index 262ee2ffa31dbf33ec6e3ec7c55a4cac89b35d7b..4a27f03e0e6e5503d8bd1dd9b7e7e3e87035d308 100644 (file)
@@ -43,7 +43,7 @@ if not exist %vcvarsall% (
   exit
 )
 
-if %forcex86%==ON (
+if %platforme%==Win32 (
        call %vcvarsall%
        set "compilerVersion=Visual Studio 10"
        echo "Compilation forced x86"
@@ -55,8 +55,8 @@ if %forcex86%==ON (
        )
 )
 
-set binfolder=%3\creatools_bin\%1Bin
+set binfolder=%3\creatools_%buildtype%%platforme%\creatools_bin\%1Bin
 cd %binfolder%
 FOR /R %%a IN (*.sln) DO msbuild /m:%NUMBER_OF_PROCESSORS% /p:UseEnv=true;BuildInParallel=true;Configuration=%1 PACKAGE.vcxproj
-copy %2*.exe %3\Result_Installers\
+copy %2*.exe %3\creatools_%buildtype%%platforme%\Result_Installers\
 
index 1fa67b613fbfeef3293248f86000efef50bf396a..3666199fd9ed3cbc64bf0579970988b742c7d37a 100644 (file)
@@ -32,15 +32,15 @@ echo docgeneration = %3
 echo buildType = %4
 
 
-set binfolder=%1\creatools_bin\%2Bin
+set binfolder=%1\creatools_%buildtype%%platforme%\creatools_bin\%2Bin
 cd %binfolder%
 
 IF %4==Debug (
        cmake -D WXWIDGETS_USE_DEBUG:BOOL=ON CMakeCache.txt
 )
 
-cmake -D crea_DIR:PATH=%1\creatools_install\crea CMakeCache.txt
-cmake -D BBTK_DIR:PATH=%1\creatools_install\bbtk CMakeCache.txt
+cmake -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea CMakeCache.txt
+cmake -D BBTK_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\bbtk CMakeCache.txt
 
 cmake -D BUILD_BBTK_PACKAGE_creaMiniTools:BOOL=ON -D creaMiniTools_DOC:BOOL=%3 CMakeCache.txt
 cmake -D BUILD_BBTK_PACKAGE_creaMiniTools_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt
@@ -51,6 +51,5 @@ cmake -D BUILD_BBTK_PACKAGE_creaMiniToolsBase_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt
 ::cmake -D BUILD_BBTK_PACKAGE_creaMiniTools_BBS_APP:BOOL=ON CMakeCache.txt
 cmake -D BUILD_BBTK_PACKAGE_creaMiniToolsBase_BBS_APP:BOOL=ON CMakeCache.txt
 
-
 cmake CMakeCache.txt
 
index a273aa73c8512045ecfe011c096b1c72db752320..62986da1191bddcb3d6641a47e5834d2c6482d12 100644 (file)
@@ -25,7 +25,7 @@ REM ------------------------------------------------------------------------
 
 set currentdir=%~dp0
 
-echo Compile creaTools
+echo Compile creaMiniTools %buildtype% %platforme%
 call %baseFolder%\cleanmod.bat %creaminitoolssource% %creatoolsGeneration% >> %logFolder%\creaMinitoolsInstall.log 2>&1
 call %baseFolder%\cmakemod.bat %creaminitoolssource% %installPrefix% %creatoolsGeneration% >> %logFolder%\creaMinitoolsInstall.log 2>&1
 call %currentdir%\creaMiniToolsVariables.bat %creatoolsGeneration% %creaminitoolssource% %docgeneration% %buildtype% >> %logFolder%\creaMinitoolsInstall.log 2>&1
index c945b28c67daf25b0dc1ad3a79caaca5d1729955..630820b40ebd391bae631c0fd73f4af354267e7a 100644 (file)
@@ -25,12 +25,12 @@ REM ------------------------------------------------------------------------
 
 set currentdir=%~dp0
 
-echo Compile creaTools
+echo Compile creaTools %buildtype% %platforme%
 echo call %baseFolder%\cleanmod.bat %creatoolssource% %creatoolsGeneration% >> %logFolder%\creaToolsInstall.log 2>&1
 
 call %baseFolder%\cleanmod.bat %creatoolssource% %creatoolsGeneration% >> %logFolder%\creaToolsInstall.log 2>&1
 call %baseFolder%\cmakemod.bat %creatoolssource% %installPrefix% %creatoolsGeneration% >> %logFolder%\creaToolsInstall.log 2>&1
-call %currentdir%\creaToolsVariables.bat %creatoolsGeneration% %creatoolssource% %docgeneration% %buildtype% %forcex86% >> %logFolder%\creaToolsInstall.log 2>&1
+call %currentdir%\creaToolsVariables.bat %creatoolsGeneration% %creatoolssource% %docgeneration% %buildtype% %plateforme% >> %logFolder%\creaToolsInstall.log 2>&1
 call %baseFolder%\compilemod.bat %buildtype% %creatoolssource% %creatoolsGeneration% >> %logFolder%\creaToolsInstall.log 2>&1
 ::call %baseFolder%\ctestmod.bat %creatoolssource% %creatoolsGeneration% >> %logFolder%\creaToolsInstall.log 2>&1
 echo end of creaTools compilation
index cbe87d81f50003a01adfd23c910ded1345a9a4d2..9d39674272221c88b107b20c1d48f50bfcbb0fa9 100644 (file)
@@ -30,24 +30,24 @@ set creatoolsGeneration=%1
 set creatoolssource=%2
 set docgeneration=%3
 set buildType=%4
-set forcex86=%5
+set plateforme=%5
 
 echo creatoolsGeneration = %creatoolsGeneration%
 echo creatoolssource = %creatoolssource%
 echo docgeneration = %docgeneration%
 echo buildType = %buildType%
-echo forcex86 = %forcex86%
+echo plateforme = %plateforme%
 
 
 
-set binfolder=%1\creatools_bin\%2Bin
+set binfolder=%1\creatools_%buildtype%%platforme%\creatools_bin\%2Bin
 cd %binfolder%
 
 IF %4==Debug (
        cmake -D WXWIDGETS_USE_DEBUG:BOOL=ON CMakeCache.txt
 )
 
-if %forcex86%==ON (
+if %platforme%==Win32 (
        set buildPlatform=win32
 ) else (
        if %PROCESSOR_ARCHITECTURE%==x86 (
@@ -58,4 +58,4 @@ if %forcex86%==ON (
 )
 
 cmake -D CREATOOLS_BUILDTYPE:STRING=%buildType% -D CREATOOLS_PLATFORM:STRING=%buildPlatform%  CMakeCache.txt
-cmake -D CREATOOLS_SOURCE_PATH:PATH=%creatoolsGeneration%\creatools_install CMakeCache.txt
+cmake -D CREATOOLS_SOURCE_PATH:PATH=%creatoolsGeneration%\creatools_%buildtype%%platforme%\creatools_install CMakeCache.txt
index 22e823fb728fa6566accd50318e69f6683efbd73..b116cc95ee50a711d27cac94ff3ec9e25a474db7 100644 (file)
@@ -22,7 +22,7 @@
 # ------------------------------------------------------------------------   
 
 
-            Project: @CMAKE_PROJECT_NAME@
+         Project: @CMAKE_PROJECT_NAME@
          Version: @PROJECT_MAJOR_VERSION@.@PROJECT_MINOR_VERSION@.@PROJECT_BUILD_VERSION@
         Platform: @CREATOOLS_PLATFORM@
       Build Type: @CREATOOLS_BUILDTYPE@