Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make events for Model and GUI about the features reading independent
[modules/shaper.git]
/
buildNewGEOM.bat
diff --git
a/buildNewGEOM.bat
b/buildNewGEOM.bat
index f84c6242e61a286d32580a41cc68990620f8971c..51e29adda2e4d59f1ad9a6dacc02e7431b7846c6 100644
(file)
--- a/
buildNewGEOM.bat
+++ b/
buildNewGEOM.bat
@@
-1,11
+1,18
@@
-@
SET ROOT_DIR=%~dp0..
+@
ECHO OFF
-@set SRC_DIR=%ROOT_DIR%\sources
+REM Find absolute path to ROOT_DIR
+@SET PARENT_DIR=%~dp0..
+@SET ROOT_DIR=
+pushd %PARENT_DIR%
+@SET ROOT_DIR=%CD%
+popd
-call %SRC_DIR%\env.bat
+@SET SRC_DIR=%ROOT_DIR%\sources
+call %SRC_DIR%\env.bat
mkdir %ROOT_DIR%\build
cd %ROOT_DIR%\build
mkdir %ROOT_DIR%\build
cd %ROOT_DIR%\build
-cmake %SRC_DIR% -G "Visual Studio 10" -DCMAKE_INSTALL_PREFIX:PATH=%ROOT_DIR%\install
+cmake %SRC_DIR% -G "Visual Studio 10" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=%ROOT_DIR%\install
+
start "" %MSVC_EXE% NewGEOM.sln
start "" %MSVC_EXE% NewGEOM.sln