mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
* Bug-fix: Fixed error while handling parameters with whitespaces during the post-build phase
This commit is contained in:
parent
a7f8772932
commit
dcf5d73f3d
@ -94,7 +94,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
Description="Running POSTBUILD Script...."
|
Description="Running POSTBUILD Script...."
|
||||||
CommandLine="$(ProjectDir)\postBuild_netgen.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)"
|
CommandLine=""$(ProjectDir)\postBuild_netgen.bat" "$(ProjectName)" "$(TargetFileName)" "$(ConfigurationName)" "$(ProjectDir)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@ -180,7 +180,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
Description="Running POSTBUILD Script...."
|
Description="Running POSTBUILD Script...."
|
||||||
CommandLine="$(ProjectDir)\postBuild_netgen.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)"
|
CommandLine=""$(ProjectDir)\postBuild_netgen.bat" "$(ProjectName)" "$(TargetFileName)" "$(ConfigurationName)" "$(ProjectDir)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@ -266,7 +266,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
Description="Running POSTBUILD Script...."
|
Description="Running POSTBUILD Script...."
|
||||||
CommandLine="$(ProjectDir)\postBuild_netgen.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)"
|
CommandLine=""$(ProjectDir)\postBuild_netgen.bat" "$(ProjectName)" "$(TargetFileName)" "$(ConfigurationName)" "$(ProjectDir)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@ -347,7 +347,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
Description="Running POSTBUILD Script...."
|
Description="Running POSTBUILD Script...."
|
||||||
CommandLine="$(ProjectDir)\postBuild_netgen.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)"
|
CommandLine=""$(ProjectDir)\postBuild_netgen.bat" "$(ProjectName)" "$(TargetFileName)" "$(ConfigurationName)" "$(ProjectDir)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
</Configurations>
|
</Configurations>
|
||||||
@ -416,11 +416,11 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\libsrc\csg\csg.hpp"
|
RelativePath="..\libsrc\include\csg.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\libsrc\include\csg.hpp"
|
RelativePath="..\libsrc\csg\csg.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -492,11 +492,11 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\libsrc\geom2d\geometry2d.hpp"
|
RelativePath="..\libsrc\include\geometry2d.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\libsrc\include\geometry2d.hpp"
|
RelativePath="..\libsrc\geom2d\geometry2d.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -596,11 +596,11 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\libsrc\include\linalg.hpp"
|
RelativePath="..\libsrc\linalg\linalg.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\libsrc\linalg\linalg.hpp"
|
RelativePath="..\libsrc\include\linalg.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -624,11 +624,11 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\libsrc\meshing\meshing.hpp"
|
RelativePath="..\libsrc\include\meshing.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\libsrc\include\meshing.hpp"
|
RelativePath="..\libsrc\meshing\meshing.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -716,11 +716,11 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\libsrc\include\occgeom.hpp"
|
RelativePath="..\libsrc\occ\occgeom.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\libsrc\occ\occgeom.hpp"
|
RelativePath="..\libsrc\include\occgeom.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -728,11 +728,11 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\libsrc\include\opti.hpp"
|
RelativePath="..\libsrc\linalg\opti.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\libsrc\linalg\opti.hpp"
|
RelativePath="..\libsrc\include\opti.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -840,11 +840,11 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\libsrc\include\stlgeom.hpp"
|
RelativePath="..\libsrc\stlgeom\stlgeom.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\libsrc\stlgeom\stlgeom.hpp"
|
RelativePath="..\libsrc\include\stlgeom.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@ -908,11 +908,11 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\libsrc\visualization\visual.hpp"
|
RelativePath="..\libsrc\include\visual.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath="..\libsrc\include\visual.hpp"
|
RelativePath="..\libsrc\visualization\visual.hpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
|
@ -95,7 +95,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
Description="Running POSTBUILD Script...."
|
Description="Running POSTBUILD Script...."
|
||||||
CommandLine="$(ProjectDir)\postBuild_netgen.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)"
|
CommandLine=""$(ProjectDir)\postBuild_netgen.bat" "$(ProjectName)" "$(TargetFileName)" "$(ConfigurationName)" "$(ProjectDir)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@ -183,7 +183,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
Description="Running POSTBUILD Script...."
|
Description="Running POSTBUILD Script...."
|
||||||
CommandLine="$(ProjectDir)\postBuild_netgen.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)"
|
CommandLine=""$(ProjectDir)\postBuild_netgen.bat" "$(ProjectName)" "$(TargetFileName)" "$(ConfigurationName)" "$(ProjectDir)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@ -272,7 +272,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
Description="Running POSTBUILD Script...."
|
Description="Running POSTBUILD Script...."
|
||||||
CommandLine="$(ProjectDir)\postBuild_netgen.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)"
|
CommandLine=""$(ProjectDir)\postBuild_netgen.bat" "$(ProjectName)" "$(TargetFileName)" "$(ConfigurationName)" "$(ProjectDir)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@ -355,7 +355,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
Description="Running POSTBUILD Script...."
|
Description="Running POSTBUILD Script...."
|
||||||
CommandLine="$(ProjectDir)\postBuild_netgen.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)"
|
CommandLine=""$(ProjectDir)\postBuild_netgen.bat" "$(ProjectName)" "$(TargetFileName)" "$(ConfigurationName)" "$(ProjectDir)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
</Configurations>
|
</Configurations>
|
||||||
|
@ -92,7 +92,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
CommandLine="$(ProjectDir)\postBuild_nglib.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)"
|
CommandLine=""$(ProjectDir)\postBuild_nglib.bat" "$(ProjectName)" "$(TargetFileName)" "$(ConfigurationName)" "$(ProjectDir)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@ -175,7 +175,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
CommandLine="$(ProjectDir)\postBuild_nglib.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)"
|
CommandLine=""$(ProjectDir)\postBuild_nglib.bat" "$(ProjectName)" "$(TargetFileName)" "$(ConfigurationName)" "$(ProjectDir)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
</Configurations>
|
</Configurations>
|
||||||
|
@ -92,7 +92,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
CommandLine="$(ProjectDir)\postBuild_nglib.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)"
|
CommandLine=""$(ProjectDir)\postBuild_nglib.bat" "$(ProjectName)" "$(TargetFileName)" "$(ConfigurationName)" "$(ProjectDir)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
<Configuration
|
<Configuration
|
||||||
@ -175,7 +175,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCPostBuildEventTool"
|
Name="VCPostBuildEventTool"
|
||||||
CommandLine="$(ProjectDir)\postBuild_nglib.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)"
|
CommandLine=""$(ProjectDir)\postBuild_nglib.bat" "$(ProjectName)" "$(TargetFileName)" "$(ConfigurationName)" "$(ProjectDir)""
|
||||||
/>
|
/>
|
||||||
</Configuration>
|
</Configuration>
|
||||||
</Configurations>
|
</Configurations>
|
||||||
|
@ -10,10 +10,10 @@ REM *** Call from Visual C++ using:
|
|||||||
REM *** postBuild_netgen.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)
|
REM *** postBuild_netgen.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)
|
||||||
REM *********************************************************************************
|
REM *********************************************************************************
|
||||||
if [%1]==[] goto BuildEventFailed
|
if [%1]==[] goto BuildEventFailed
|
||||||
set PROJ_NAME=%1
|
set PROJ_NAME=%~1
|
||||||
set PROJ_EXEC=%2
|
set PROJ_EXEC=%~2
|
||||||
set BUILD_TYPE=%3
|
set BUILD_TYPE=%~3
|
||||||
set PROJ_DIR=%4
|
set PROJ_DIR=%~4
|
||||||
|
|
||||||
REM *** Change these Folders if required ***
|
REM *** Change these Folders if required ***
|
||||||
set NETGEN_TCLSRC=%PROJ_DIR%..\ng
|
set NETGEN_TCLSRC=%PROJ_DIR%..\ng
|
||||||
|
@ -10,10 +10,10 @@ REM *** Call from Visual C++ using:
|
|||||||
REM *** postBuild_nglib.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)
|
REM *** postBuild_nglib.bat $(ProjectName) $(TargetFileName) $(ConfigurationName) $(ProjectDir)
|
||||||
REM *********************************************************************************
|
REM *********************************************************************************
|
||||||
if [%1]==[] goto BuildEventFailed
|
if [%1]==[] goto BuildEventFailed
|
||||||
set PROJ_NAME=%1
|
set PROJ_NAME=%~1
|
||||||
set PROJ_EXEC=%2
|
set PROJ_EXEC=%~2
|
||||||
set BUILD_TYPE=%3
|
set BUILD_TYPE=%~3
|
||||||
set PROJ_DIR=%4
|
set PROJ_DIR=%~4
|
||||||
|
|
||||||
REM *** Change these Folders if required ***
|
REM *** Change these Folders if required ***
|
||||||
set NETGEN_TCLSRC=%PROJ_DIR%..\ng
|
set NETGEN_TCLSRC=%PROJ_DIR%..\ng
|
||||||
|
Loading…
Reference in New Issue
Block a user