X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=ctest%2Fdashboard%2Fcmakemod.bat;h=d1f8f457eec7f7fd6c6fa682e661b19f9cabffa6;hb=6a4393e29e2ad4c755ff2d31d53e0f9823ddd1bd;hp=f9ae7553fa1c2f44d3026cff23e722f1f37afda0;hpb=d804cc269c9653d92c575b342e733dbf22afd00f;p=creaToolsTools.git diff --git a/ctest/dashboard/cmakemod.bat b/ctest/dashboard/cmakemod.bat index f9ae755..d1f8f45 100644 --- a/ctest/dashboard/cmakemod.bat +++ b/ctest/dashboard/cmakemod.bat @@ -1,8 +1,13 @@ +REM %1= +REM %2= + set currentdir=%~dp0 set currentdir=%currentdir:\=/% -mkdir %2 -cd %2 -cmake -G"Visual Studio 9 2008" -H%currentdir%%1 -B%currentdir%%2 -cmake -D INCLUDE_CTEST:BOOL=ON -D CMAKE_INSTALL_PREFIX:PATH=%currentdir%/tmpINSTALL CMakeCache.txt +set dirInstallModule=%2\%1 + +mkdir %1Bin +cd %1Bin +cmake -G"Visual Studio 9 2008" -H%currentdir%%1 -B%currentdir%%1Bin +cmake -D INCLUDE_CTEST:BOOL=ON -D CMAKE_INSTALL_PREFIX:PATH=%dirInstallModule% CMakeCache.txt cd ..