"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
1b7c8eb2d7
commit
6e5d084a02
|
|
@ -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).
|
||||
|
||||
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
|
||||
dir
|
||||
popd
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@
|
|||
<ItemDefinitionGroup>
|
||||
<PreBuildEvent>
|
||||
<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>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
|
|
@ -400,4 +400,4 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
Loading…
Reference in New Issue