mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-22 05:47:42 +02:00
visualc/*.vcxproj, win_bison.exe in CustomBuild instead of PreBuildEvent
This commit is contained in:
+29
-48
@@ -200,10 +200,8 @@
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<PreBuildEvent>
|
||||
<Message>Recompile conf.c with actual date, invoke win_bison</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj
|
||||
..\..\flex-bison\win_bison.exe --output=inpptree-parser.c --defines=inpptree-parser.h ..\src\spicelib\parser\inpptree-parser.y || exit 1
|
||||
..\..\flex-bison\win_bison.exe --output=parse-bison.c --defines=parse-bison.h ..\src\frontend\parse-bison.y || exit 1</Command>
|
||||
<Message>force recompilation of conf.c with actual date</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj</Command>
|
||||
</PreBuildEvent>
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
@@ -238,10 +236,8 @@
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<PreBuildEvent>
|
||||
<Message>Recompile conf.c with actual date, invoke win_bison</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj
|
||||
..\..\flex-bison\win_bison.exe --output=inpptree-parser.c --defines=inpptree-parser.h ..\src\spicelib\parser\inpptree-parser.y || exit 1
|
||||
..\..\flex-bison\win_bison.exe --output=parse-bison.c --defines=parse-bison.h ..\src\frontend\parse-bison.y || exit 1</Command>
|
||||
<Message>force recompilation of conf.c with actual date</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj</Command>
|
||||
</PreBuildEvent>
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
@@ -282,10 +278,8 @@
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<PreBuildEvent>
|
||||
<Message>Recompile conf.c with actual date, invoke win_bison</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj
|
||||
..\..\flex-bison\win_bison.exe --output=inpptree-parser.c --defines=inpptree-parser.h ..\src\spicelib\parser\inpptree-parser.y || exit 1
|
||||
..\..\flex-bison\win_bison.exe --output=parse-bison.c --defines=parse-bison.h ..\src\frontend\parse-bison.y || exit 1</Command>
|
||||
<Message>force recompilation of conf.c with actual date</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj</Command>
|
||||
</PreBuildEvent>
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
@@ -323,10 +317,8 @@
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<PreBuildEvent>
|
||||
<Message>Recompile conf.c with actual date, invoke win_bison</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj
|
||||
..\..\flex-bison\win_bison.exe --output=inpptree-parser.c --defines=inpptree-parser.h ..\src\spicelib\parser\inpptree-parser.y || exit 1
|
||||
..\..\flex-bison\win_bison.exe --output=parse-bison.c --defines=parse-bison.h ..\src\frontend\parse-bison.y || exit 1</Command>
|
||||
<Message>force recompilation of conf.c with actual date</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj</Command>
|
||||
</PreBuildEvent>
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
@@ -372,10 +364,8 @@
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='console_debug|Win32'">
|
||||
<PreBuildEvent>
|
||||
<Message>Recompile conf.c with actual date, invoke win_bison</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj
|
||||
..\..\flex-bison\win_bison.exe --output=inpptree-parser.c --defines=inpptree-parser.h ..\src\spicelib\parser\inpptree-parser.y || exit 1
|
||||
..\..\flex-bison\win_bison.exe --output=parse-bison.c --defines=parse-bison.h ..\src\frontend\parse-bison.y || exit 1</Command>
|
||||
<Message>force recompilation of conf.c with actual date</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj</Command>
|
||||
</PreBuildEvent>
|
||||
<ClCompile>
|
||||
<Optimization>Disabled</Optimization>
|
||||
@@ -410,10 +400,8 @@
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='console_release|Win32'">
|
||||
<PreBuildEvent>
|
||||
<Message>Recompile conf.c with actual date, invoke win_bison</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj
|
||||
..\..\flex-bison\win_bison.exe --output=inpptree-parser.c --defines=inpptree-parser.h ..\src\spicelib\parser\inpptree-parser.y || exit 1
|
||||
..\..\flex-bison\win_bison.exe --output=parse-bison.c --defines=parse-bison.h ..\src\frontend\parse-bison.y || exit 1</Command>
|
||||
<Message>force recompilation of conf.c with actual date</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj</Command>
|
||||
</PreBuildEvent>
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
@@ -454,10 +442,8 @@
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='console_debug|x64'">
|
||||
<PreBuildEvent>
|
||||
<Message>Recompile conf.c with actual date, invoke win_bison</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj
|
||||
..\..\flex-bison\win_bison.exe --output=inpptree-parser.c --defines=inpptree-parser.h ..\src\spicelib\parser\inpptree-parser.y || exit 1
|
||||
..\..\flex-bison\win_bison.exe --output=parse-bison.c --defines=parse-bison.h ..\src\frontend\parse-bison.y || exit 1</Command>
|
||||
<Message>force recompilation of conf.c with actual date</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj</Command>
|
||||
</PreBuildEvent>
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
@@ -495,10 +481,8 @@
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='console_release|x64'">
|
||||
<PreBuildEvent>
|
||||
<Message>Recompile conf.c with actual date, invoke win_bison</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj
|
||||
..\..\flex-bison\win_bison.exe --output=inpptree-parser.c --defines=inpptree-parser.h ..\src\spicelib\parser\inpptree-parser.y || exit 1
|
||||
..\..\flex-bison\win_bison.exe --output=parse-bison.c --defines=parse-bison.h ..\src\frontend\parse-bison.y || exit 1</Command>
|
||||
<Message>force recompilation of conf.c with actual date</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj</Command>
|
||||
</PreBuildEvent>
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
@@ -542,10 +526,8 @@
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseOMP|Win32'">
|
||||
<PreBuildEvent>
|
||||
<Message>Recompile conf.c with actual date, invoke win_bison</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj
|
||||
..\..\flex-bison\win_bison.exe --output=inpptree-parser.c --defines=inpptree-parser.h ..\src\spicelib\parser\inpptree-parser.y || exit 1
|
||||
..\..\flex-bison\win_bison.exe --output=parse-bison.c --defines=parse-bison.h ..\src\frontend\parse-bison.y || exit 1</Command>
|
||||
<Message>force recompilation of conf.c with actual date</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj</Command>
|
||||
</PreBuildEvent>
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
@@ -587,10 +569,8 @@
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='ReleaseOMP|x64'">
|
||||
<PreBuildEvent>
|
||||
<Message>Recompile conf.c with actual date, invoke win_bison</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj
|
||||
..\..\flex-bison\win_bison.exe --output=inpptree-parser.c --defines=inpptree-parser.h ..\src\spicelib\parser\inpptree-parser.y || exit 1
|
||||
..\..\flex-bison\win_bison.exe --output=parse-bison.c --defines=parse-bison.h ..\src\frontend\parse-bison.y || exit 1</Command>
|
||||
<Message>force recompilation of conf.c with actual date</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj</Command>
|
||||
</PreBuildEvent>
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
@@ -637,10 +617,8 @@
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='console_release_omp|Win32'">
|
||||
<PreBuildEvent>
|
||||
<Message>Recompile conf.c with actual date, invoke win_bison</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj
|
||||
..\..\flex-bison\win_bison.exe --output=inpptree-parser.c --defines=inpptree-parser.h ..\src\spicelib\parser\inpptree-parser.y || exit 1
|
||||
..\..\flex-bison\win_bison.exe --output=parse-bison.c --defines=parse-bison.h ..\src\frontend\parse-bison.y || exit 1</Command>
|
||||
<Message>force recompilation of conf.c with actual date</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj</Command>
|
||||
</PreBuildEvent>
|
||||
<ClCompile>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
@@ -682,10 +660,8 @@
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='console_release_omp|x64'">
|
||||
<PreBuildEvent>
|
||||
<Message>Recompile conf.c with actual date, invoke win_bison</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj
|
||||
..\..\flex-bison\win_bison.exe --output=inpptree-parser.c --defines=inpptree-parser.h ..\src\spicelib\parser\inpptree-parser.y || exit 1
|
||||
..\..\flex-bison\win_bison.exe --output=parse-bison.c --defines=parse-bison.h ..\src\frontend\parse-bison.y || exit 1</Command>
|
||||
<Message>force recompilation of conf.c with actual date</Message>
|
||||
<Command>if exist $(IntDir)conf.obj del $(IntDir)conf.obj</Command>
|
||||
</PreBuildEvent>
|
||||
<Midl>
|
||||
<TargetEnvironment>X64</TargetEnvironment>
|
||||
@@ -1237,6 +1213,11 @@
|
||||
<ClInclude Include="parse-bison.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CustomBuild Include="..\src\frontend\parse-bison.y;..\src\spicelib\parser\inpptree-parser.y">
|
||||
<Message>invoke win_bison.exe for %(Identity)</Message>
|
||||
<Command>..\..\flex-bison\win_bison.exe --output=%(Filename).c --defines=%(Filename).h %(Identity) || exit 1</Command>
|
||||
<Outputs>%(Filename).c;%(Filename).h</Outputs>
|
||||
</CustomBuild>
|
||||
<None Include="..\src\xspice\icm\objects.inc" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user