X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Install_ThirdParty%2Fscripts%2Finstall_thirdparty_dlls_cmake.bat;h=d6b08558371833abab72657cb3825bd6ae16f08b;hb=4331e28cc8b1d4662dab14f729c8caa0c5c674dc;hp=86c14514daf84c0cf1f5b8226a78ec843dfcc44c;hpb=0613d094f03ceaa9e5982f0ad11e1c7d9a064baa;p=creaToolsTools.git diff --git a/Install_ThirdParty/scripts/install_thirdparty_dlls_cmake.bat b/Install_ThirdParty/scripts/install_thirdparty_dlls_cmake.bat index 86c1451..d6b0855 100644 --- a/Install_ThirdParty/scripts/install_thirdparty_dlls_cmake.bat +++ b/Install_ThirdParty/scripts/install_thirdparty_dlls_cmake.bat @@ -55,15 +55,19 @@ mkdir %binpath% cd %binpath% if %x86Comp%==ON ( + set buildPlatform=win32 cmake -G"Visual Studio 10" -H%sourcepath% -B%binpath% ) else ( if %PROCESSOR_ARCHITECTURE%==x86 ( + set buildPlatform=win32 cmake -G"Visual Studio 10" -H%sourcepath% -B%binpath% ) else ( + set buildPlatform=win64 cmake -G"Visual Studio 10 Win64" -H%sourcepath% -B%binpath% ) ) +cmake -D CREATOOLS_BUILDTYPE:STRING=%buildType% -D CREATOOLS_PLATFORM:STRING=%buildPlatform% CMakeCache.txt cmake -D CMAKE_INSTALL_PREFIX:PATH=%installpath% CMakeCache.txt cmake -D CREA_LIBRARY_DLL_PATH:PATH=%thirdpartydllspath% CMakeCache.txt cmake CMakeCache.txt