follow-up build fixes for Windows
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
<ClCompile Include="$(RootDir)util\makedefs.c" />
|
||||
<ClCompile Include="$(RootDir)src\monst.c" />
|
||||
<ClCompile Include="$(RootDir)src\objects.c" />
|
||||
<ClCompile Include="..\..\..\..\src\date.c" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="$(IncDir)config.h" />
|
||||
@@ -50,18 +51,15 @@
|
||||
<ClInclude Include="$(IncDir)tradstdc.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<Target
|
||||
Name="GenerateHeader"
|
||||
BeforeTargets="ClCompile"
|
||||
Outputs="$(IncDir)\nhlua.h">
|
||||
<Message Text="Generating $(IncDir)nhlua.h" />
|
||||
<Exec Command="echo /* nhlua.h - generated by makdefs.vcxproj ClCompile */ > nhlua.h" WorkingDirectory="$(IncDir)"/>
|
||||
<Exec Command="echo #include %22$(SubmodulesDir)lua/lua.h%22 >> nhlua.h" WorkingDirectory="$(IncDir)"/>
|
||||
<Exec Command="echo LUA_API int (lua_error) (lua_State *L) NORETURN; >> nhlua.h" WorkingDirectory="$(IncDir)"/>
|
||||
<Exec Command="echo #include %22$(SubmodulesDir)lua/lualib.h%22 >> nhlua.h" WorkingDirectory="$(IncDir)"/>
|
||||
<Exec Command="echo #include %22$(SubmodulesDir)lua/lauxlib.h%22 >> nhlua.h" WorkingDirectory="$(IncDir)"/>
|
||||
<Exec Command="echo /*nhlua.h*/ >> nhlua.h" WorkingDirectory="$(IncDir)"/>
|
||||
</Target>
|
||||
<Target Name="GenerateHeader" BeforeTargets="ClCompile" Outputs="$(IncDir)\nhlua.h">
|
||||
<Message Text="Generating $(IncDir)nhlua.h" />
|
||||
<Exec Command="echo /* nhlua.h - generated by makdefs.vcxproj ClCompile */ > nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
<Exec Command="echo #include %22$(SubmodulesDir)lua/lua.h%22 >> nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
<Exec Command="echo LUA_API int (lua_error) (lua_State *L) NORETURN; >> nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
<Exec Command="echo #include %22$(SubmodulesDir)lua/lualib.h%22 >> nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
<Exec Command="echo #include %22$(SubmodulesDir)lua/lauxlib.h%22 >> nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
<Exec Command="echo /*nhlua.h*/ >> nhlua.h" WorkingDirectory="$(IncDir)" />
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
<MSBuild Projects="aftermakedefs.proj" Targets="Build" Properties="Configuration=$(Configuration)" />
|
||||
</Target>
|
||||
@@ -71,4 +69,4 @@
|
||||
<Target Name="AfterRebuild">
|
||||
<MSBuild Projects="aftermakedefs.proj" Targets="Build" Properties="Configuration=$(Configuration)" />
|
||||
</Target>
|
||||
</Project>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user