Procházet zdrojové kódy

build: fix Windows build and LolFx generation

legacy
Sam Hocevar před 8 roky
rodič
revize
aaa39bd782
3 změnil soubory, kde provedl 7 přidání a 11 odebrání
  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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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>


Načítá se…
Zrušit
Uložit