Browse Source

build: fix LolFx rule for MSBuild again.

legacy
Sam Hocevar sam 12 years ago
parent
commit
bd95435faf
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      build/vs2010/Lol.Fx.props

+ 2
- 2
build/vs2010/Lol.Fx.props View File

@@ -14,7 +14,7 @@
<CommandLineTemplate>@echo off
set D=$(IntDir)%(Filename)%(Extension).cpp
echo /* This file was autogenerated. DO NOT MODIFY IT. */ &gt; "%D%"
echo char const *lolfx_resource_%(Filename) = &gt;&gt; "%D%"
echo extern "C" { char const *lolfx_resource_%(Filename) = &gt;&gt; "%D%"
setlocal disabledelayedexpansion
for /F "tokens=1,* delims=`" %%L in ('type "%(Fullpath)"') do (
set "line=%%L"
@@ -23,7 +23,7 @@ for /F "tokens=1,* delims=`" %%L in ('type "%(Fullpath)"') do (
endlocal
)
endlocal
echo ; &gt;&gt; "%D%"</CommandLineTemplate>
echo ;} &gt;&gt; "%D%"</CommandLineTemplate>
<Outputs>$(IntDir)%(FileName)%(Extension).cpp</Outputs>
<ExecutionDescription>%(FileName)%(Extension)</ExecutionDescription>
</LolFxCompile>


Loading…
Cancel
Save