X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Install_ThirdParty%2Fscripts%2Finstall_thirdparty_dlls_cmake.bat;h=d6b08558371833abab72657cb3825bd6ae16f08b;hb=11c30fbd126b4a4c79ad39bb9ab2d5c22f6badbc;hp=86c14514daf84c0cf1f5b8226a78ec843dfcc44c;hpb=11ea4dfe256d2b50750b887c661265f659e0b7c4;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