Fix compilation with recoil with MSVC
Also fix handling of long extensions (more than 3 characters)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
Project files for MS Visual Studio 2010 :
|
||||
|
||||
By default the project expect SDL 1.2 SDL Image 1.2 and Lua 5.3 to be installed
|
||||
By default the project expects SDL 1.2, SDL Image 1.2 and Lua 5.3 to be installed
|
||||
in directories :
|
||||
..\..\..\..\SDL-1.2.15
|
||||
..\..\..\..\SDL_image-1.2.12
|
||||
@@ -20,3 +20,8 @@ Download precompiled libraries from :
|
||||
|
||||
http://luabinaries.sourceforge.net/
|
||||
https://sourceforge.net/projects/luabinaries/files/5.3.4/Windows%20Libraries/Static/
|
||||
|
||||
|
||||
Download recoil-4.2.0.tar.gz from https://sourceforge.net/projects/recoil/files/recoil/4.2.0/
|
||||
and copy recoil.c and recoil.h to src subdirectory.
|
||||
You can also disable RECOIL by defining the NORECOIL macro.
|
||||
|
||||
@@ -125,6 +125,7 @@
|
||||
<ClInclude Include="..\..\src\readini.h" />
|
||||
<ClInclude Include="..\..\src\readline.h" />
|
||||
<ClInclude Include="..\..\src\realpath.h" />
|
||||
<ClInclude Include="..\..\src\recoil.h" />
|
||||
<ClInclude Include="..\..\src\saveini.h" />
|
||||
<ClInclude Include="..\..\src\SDLMain.h" />
|
||||
<ClInclude Include="..\..\src\sdlscreen.h" />
|
||||
@@ -161,6 +162,7 @@
|
||||
<ClCompile Include="..\..\src\keyboard.c" />
|
||||
<ClCompile Include="..\..\src\layers.c" />
|
||||
<ClCompile Include="..\..\src\libraw2crtc.c" />
|
||||
<ClCompile Include="..\..\src\loadrecoil.c" />
|
||||
<ClCompile Include="..\..\src\loadsave.c" />
|
||||
<ClCompile Include="..\..\src\main.c" />
|
||||
<ClCompile Include="..\..\src\misc.c" />
|
||||
@@ -184,6 +186,7 @@
|
||||
<ClCompile Include="..\..\src\readini.c" />
|
||||
<ClCompile Include="..\..\src\readline.c" />
|
||||
<ClCompile Include="..\..\src\realpath.c" />
|
||||
<ClCompile Include="..\..\src\recoil.c" />
|
||||
<ClCompile Include="..\..\src\saveini.c" />
|
||||
<ClCompile Include="..\..\src\sdlscreen.c" />
|
||||
<ClCompile Include="..\..\src\setup.c" />
|
||||
|
||||
@@ -174,6 +174,9 @@
|
||||
<ClInclude Include="..\..\src\unicode.h">
|
||||
<Filter>Fichiers d%27en-tête</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\recoil.h">
|
||||
<Filter>Fichiers d%27en-tête</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="..\..\src\gfx2.rc">
|
||||
@@ -340,5 +343,11 @@
|
||||
<ClCompile Include="..\..\src\version.c">
|
||||
<Filter>Fichiers sources</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\loadrecoil.c">
|
||||
<Filter>Fichiers sources</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\recoil.c">
|
||||
<Filter>Fichiers sources</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user