Salome HOME
projects
/
tools
/
sat_salome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spns #32377: boost environment issue - windows only
[tools/sat_salome.git]
/
products
/
compil_scripts
/
omniORBpy.bat
diff --git
a/products/compil_scripts/omniORBpy.bat
b/products/compil_scripts/omniORBpy.bat
index 3d7444b1bfae4bc92e7f0498126521d054fff62d..419c790db43c7134bb49b54443832c43afe940dc 100755
(executable)
--- a/
products/compil_scripts/omniORBpy.bat
+++ b/
products/compil_scripts/omniORBpy.bat
@@
-4,6
+4,10
@@
echo ##########################################################################
echo omniORBpy %VERSION%
\r
echo ##########################################################################
\r
\r
echo omniORBpy %VERSION%
\r
echo ##########################################################################
\r
\r
+IF NOT DEFINED SAT_DEBUG (
\r
+ SET SAT_DEBUG=0
\r
+)
\r
+
\r
if NOT defined CYGWIN_ROOT_DIR (
\r
echo ERROR: Please set the environment variable: CYGWIN_ROOT_DIR
\r
exit 2
\r
if NOT defined CYGWIN_ROOT_DIR (
\r
echo ERROR: Please set the environment variable: CYGWIN_ROOT_DIR
\r
exit 2
\r
@@
-37,8
+41,16
@@
if NOT %ERRORLEVEL% == 0 (
)
\r
\r
if %SAT_DEBUG% == 1 (
\r
)
\r
\r
if %SAT_DEBUG% == 1 (
\r
- cd %
PRODUCT_INSTALL
%
\r
+ cd %
OMNIORB_ROOT_DIR
%
\r
powershell -Command "Get-ChildItem -File -Recurse *.pyd| ForEach-Object {if ((!$_.Name.EndsWith('_d.pyd'))) { $_ | Copy-Item -Destination {$_.Name -replace '.pyd','_d.pyd'}}}"
\r
)
\r
powershell -Command "Get-ChildItem -File -Recurse *.pyd| ForEach-Object {if ((!$_.Name.EndsWith('_d.pyd'))) { $_ | Copy-Item -Destination {$_.Name -replace '.pyd','_d.pyd'}}}"
\r
)
\r
+
\r
+if %SAT_DEBUG% == 1 (
\r
+ cd %OMNIORB_ROOT_DIR%\lib\x86_win32
\r
+ copy /B /Y _omnicodesets.pyd _omnicodesets_d.pyd
\r
+ copy /B /Y _omniConnMgmt.pyd _omniConnMgmt_d.pyd
\r
+ copy /B /Y _omnipy.pyd _omnipy_d.pyd
\r
+)
\r
+
\r
echo.
\r
echo ########## END
\r
echo.
\r
echo ########## END
\r