瀏覽代碼

build: fix LolFx rule for MSBuild again.

legacy
Sam Hocevar sam 12 年之前
父節點
當前提交
bd95435faf
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      build/vs2010/Lol.Fx.props

+ 2
- 2
build/vs2010/Lol.Fx.props 查看文件

@@ -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…
取消
儲存