Add some missing files to the libaegisub project. Make Lua compile as C++ to get C++ name mangling, as Aegisub expects that.

Originally committed to SVN as r5179.
This commit is contained in:
Niels Martin Hansen 2011-01-11 22:04:21 +00:00
parent 585b108671
commit 87ac25bfa7
3 changed files with 25 additions and 0 deletions

View file

@ -100,11 +100,26 @@
<ObjectFileName>$(IntDir)Common\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Common\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)common\hotkey.cpp">
<AssemblerListingLocation>$(IntDir)Common\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Common\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Common\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)common\log.cpp">
<AssemblerListingLocation>$(IntDir)Common\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Common\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Common\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)common\json.cpp">
<AssemblerListingLocation>$(IntDir)Common\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Common\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Common\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)common\keyframe.cpp">
<AssemblerListingLocation>$(IntDir)Common\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Common\</ObjectFileName>
<XMLDocumentationFileName>$(IntDir)Common\</XMLDocumentationFileName>
</ClCompile>
<ClCompile Include="$(SrcDir)common\mru.cpp">
<AssemblerListingLocation>$(IntDir)Common\</AssemblerListingLocation>
<ObjectFileName>$(IntDir)Common\</ObjectFileName>

View file

@ -157,6 +157,15 @@
<ClCompile Include="$(SrcDir)common\vfr.cpp">
<Filter>Source Files\Common</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)common\json.cpp">
<Filter>Source Files\Common</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)common\hotkey.cpp">
<Filter>Source Files\Common</Filter>
</ClCompile>
<ClCompile Include="$(SrcDir)common\keyframe.cpp">
<Filter>Source Files\Common</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="$(SrcDir)include\libaegisub\charsets.def">

View file

@ -47,6 +47,7 @@
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>LUA_BUILD_AS_DLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<CompileAs>CompileAsCpp</CompileAs> <!-- We want to build Lua as C++ to get C++ name mangling -->
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>