X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=ctest%2Fdashboard%2Fcmakemod.bat;h=d8e9e4b33cca091fd87f37333178f631a297740a;hb=0fe25c9c4af83976e3cd9be8ba4b7ce201e3b8fb;hp=3b7465db334ba1d6d59283ebd508e1f88cdafcf4;hpb=de02004d451f07c77e0ccdb4ea536ba68f7681d2;p=creaToolsTools.git diff --git a/ctest/dashboard/cmakemod.bat b/ctest/dashboard/cmakemod.bat index 3b7465d..d8e9e4b 100644 --- a/ctest/dashboard/cmakemod.bat +++ b/ctest/dashboard/cmakemod.bat @@ -1,8 +1,12 @@ +REM %1= + 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 CMakeCache.txt +set dirInstall=%currentdir%/tmpCreaTools_INSTALL/%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=%dirInstall% CMakeCache.txt cd ..