From 01eae7b6ad261a1aa1edcb84572ace82b8881eae Mon Sep 17 00:00:00 2001 From: mpv Date: Fri, 11 Apr 2014 16:53:59 +0400 Subject: [PATCH] Release and debug compilation for Windows --- buildNewGEOM.bat => buildNewGEOM_deb.bat | 1 + buildNewGEOM_rel.bat | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) rename buildNewGEOM.bat => buildNewGEOM_deb.bat (94%) create mode 100644 buildNewGEOM_rel.bat diff --git a/buildNewGEOM.bat b/buildNewGEOM_deb.bat similarity index 94% rename from buildNewGEOM.bat rename to buildNewGEOM_deb.bat index edb65c0cd..1b4ddccf0 100644 --- a/buildNewGEOM.bat +++ b/buildNewGEOM_deb.bat @@ -8,6 +8,7 @@ pushd %PARENT_DIR% popd @SET SRC_DIR=%ROOT_DIR%\sources +@SET OCC_LIB_PREFIX=d call %SRC_DIR%\msvc10_env.bat mkdir %ROOT_DIR%\build 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 -- 2.39.2