X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=ctest%2Fdashboard%2Fcmakemod.bat;h=d1f8f457eec7f7fd6c6fa682e661b19f9cabffa6;hb=6a4393e29e2ad4c755ff2d31d53e0f9823ddd1bd;hp=3b7465db334ba1d6d59283ebd508e1f88cdafcf4;hpb=de02004d451f07c77e0ccdb4ea536ba68f7681d2;p=creaToolsTools.git diff --git a/ctest/dashboard/cmakemod.bat b/ctest/dashboard/cmakemod.bat index 3b7465d..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 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 ..