Selaa lähdekoodia

build: fix Windows build and LolFx generation

legacy
Sam Hocevar 8 vuotta sitten
vanhempi
commit
aaa39bd782
3 muutettua tiedostoa jossa 7 lisäystä ja 11 poistoa
  1. +7
    -7
      build/msbuild/lolfx.props
  2. +0
    -1
      src/lol-core.vcxproj
  3. +0
    -3
      src/lol-core.vcxproj.filter

+ 7
- 7
build/msbuild/lolfx.props Näytä tiedosto

@@ -13,14 +13,14 @@
<LolFxCompile>
<CommandLineTemplate>@echo off
set D=$(IntDir)%(Filename)%(Extension).cpp

set "name=lolfx_resource_%(RelativeDir)%(Filename)"
set "name=%name:\=_%"
set "name=%name:-=_%"
set "name=%name:.=_%"

echo /* This file was autogenerated. DO NOT MODIFY IT. */ &gt; "%D%"
echo /* Filename = %(Filename) */ &gt; "%D"
echo /* FullPath = %(FullPath) */ &gt; "%D"
echo /* RootDir = %(RootDir) */ &gt; "%D"
echo /* Directory = %(Directory) */ &gt; "%D"
echo /* Input = %(Input) */ &gt; "%D"
echo /* Output = %(Output) */ &gt; "%D"
echo extern "C" { char const *lolfx_resource_%(Filename) = &gt;&gt; "%D%"
echo extern "C" { char const *%name% = &gt;&gt; "%D%"
setlocal disabledelayedexpansion
for /F "tokens=1,* delims=`" %%L in ('type "%(Fullpath)"') do (
set "line=%%L"


+ 0
- 1
src/lol-core.vcxproj Näytä tiedosto

@@ -207,7 +207,6 @@
<ClCompile Include="sys\init.cpp" />
<ClCompile Include="sys\thread.cpp" />
<ClCompile Include="sys\threadtypes.cpp" />
<ClCompile Include="sys\timer.cpp" />
<ClCompile Include="text.cpp" />
<ClCompile Include="textureimage.cpp" />
<ClCompile Include="tiler.cpp" />


+ 0
- 3
src/lol-core.vcxproj.filter Näytä tiedosto

@@ -294,9 +294,6 @@
<ClCompile Include="sys\getopt.cpp">
<Filter>sys</Filter>
</ClCompile>
<ClCompile Include="sys\timer.cpp">
<Filter>sys</Filter>
</ClCompile>
<ClCompile Include="base\log.cpp">
<Filter>base</Filter>
</ClCompile>


Ladataan…
Peruuta
Tallenna