"x64" was hardcoded into aux-digital.bat and is used in the compiling of digital.vcxproj.
That's problematic for trying to compile x86 or ARM64. This patch makes digital.vcxproj pass the arch as arg2 to aux-digital.bat Patch #120 provided by Mark Roszko
This commit is contained in:
parent
ea33459ba9
commit
25e976a73a
|
|
@ -11,7 +11,7 @@ CL.EXE /O2 /LD /EHsc /Feivlng.DLL /I%src% /I%inc% %src%\icarus_shim.c ^
|
||||||
|
|
||||||
rem Make a dummy libvvp.obj, needed for shim.vpi (to be renamed ivlng.vpi).
|
rem Make a dummy libvvp.obj, needed for shim.vpi (to be renamed ivlng.vpi).
|
||||||
|
|
||||||
lib.exe /def:%src%\libvvp.def /machine:X64
|
lib.exe /def:%src%\libvvp.def /machine:%2
|
||||||
CL.EXE /O2 /LD /EHsc /Feshim.vpi /I. /I%inc% %src%\vpi.c libvvp.lib ivlng.lib /link /DLL /EXPORT:vlog_startup_routines
|
CL.EXE /O2 /LD /EHsc /Feshim.vpi /I. /I%inc% %src%\vpi.c libvvp.lib ivlng.lib /link /DLL /EXPORT:vlog_startup_routines
|
||||||
dir
|
dir
|
||||||
popd
|
popd
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@
|
||||||
<ItemDefinitionGroup>
|
<ItemDefinitionGroup>
|
||||||
<PreBuildEvent>
|
<PreBuildEvent>
|
||||||
<Message>Generate Iverilog support, cfunc.c and ifspec.c files</Message>
|
<Message>Generate Iverilog support, cfunc.c and ifspec.c files</Message>
|
||||||
<Command>call .\aux-digital.bat $(ProjectName)</Command>
|
<Command>call .\aux-digital.bat $(ProjectName) $(PlatformTarget)</Command>
|
||||||
</PreBuildEvent>
|
</PreBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
|
@ -400,4 +400,4 @@
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
</Project>
|
</Project>
|
||||||
Loading…
Reference in New Issue