From: mpv Date: Fri, 11 Apr 2014 12:53:59 +0000 (+0400) Subject: Release and debug compilation for Windows X-Git-Tag: V_0.1~14^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=01eae7b6ad261a1aa1edcb84572ace82b8881eae;p=modules%2Fshaper.git Release and debug compilation for Windows --- diff --git a/buildNewGEOM.bat b/buildNewGEOM.bat deleted file mode 100644 index edb65c0cd..000000000 --- a/buildNewGEOM.bat +++ /dev/null @@ -1,18 +0,0 @@ -@ECHO OFF - -REM Find absolute path to ROOT_DIR -@SET PARENT_DIR=%~dp0.. -@SET ROOT_DIR= -pushd %PARENT_DIR% -@SET ROOT_DIR=%CD% -popd - -@SET SRC_DIR=%ROOT_DIR%\sources - -call %SRC_DIR%\msvc10_env.bat -mkdir %ROOT_DIR%\build -cd %ROOT_DIR%\build - -cmake %SRC_DIR% -G "Visual Studio 10" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=%ROOT_DIR%\install - -start "" %MSVC_EXE% NewGEOM.sln diff --git a/buildNewGEOM_deb.bat b/buildNewGEOM_deb.bat new file mode 100644 index 000000000..1b4ddccf0 --- /dev/null +++ b/buildNewGEOM_deb.bat @@ -0,0 +1,19 @@ +@ECHO OFF + +REM Find absolute path to ROOT_DIR +@SET PARENT_DIR=%~dp0.. +@SET ROOT_DIR= +pushd %PARENT_DIR% +@SET ROOT_DIR=%CD% +popd + +@SET SRC_DIR=%ROOT_DIR%\sources +@SET OCC_LIB_PREFIX=d + +call %SRC_DIR%\msvc10_env.bat +mkdir %ROOT_DIR%\build +cd %ROOT_DIR%\build + +cmake %SRC_DIR% -G "Visual Studio 10" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=%ROOT_DIR%\install + +start "" %MSVC_EXE% NewGEOM.sln diff --git a/buildNewGEOM_rel.bat b/buildNewGEOM_rel.bat new file mode 100644 index 000000000..af10ffb0b --- /dev/null +++ b/buildNewGEOM_rel.bat @@ -0,0 +1,18 @@ +@ECHO OFF + +REM Find absolute path to ROOT_DIR +@SET PARENT_DIR=%~dp0.. +@SET ROOT_DIR= +pushd %PARENT_DIR% +@SET ROOT_DIR=%CD% +popd + +@SET SRC_DIR=%ROOT_DIR%\sources + +call %SRC_DIR%\msvc10_env.bat +mkdir %ROOT_DIR%\build +cd %ROOT_DIR%\build + +cmake %SRC_DIR% -G "Visual Studio 10" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=%ROOT_DIR%\install + +start "" %MSVC_EXE% NewGEOM.sln