25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

38 lines
1.5 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <PropertyGroup
  4. Condition="'$(LolFxCompileBeforeTargets)' == '' and '$(LolFxCompileAfterTargets)' == '' and '$(ConfigurationType)' != 'Makefile'">
  5. <LolFxCompileBeforeTargets>Midl</LolFxCompileBeforeTargets>
  6. <LolFxCompileAfterTargets>CustomBuild</LolFxCompileAfterTargets>
  7. </PropertyGroup>
  8. <PropertyGroup>
  9. <LolFxCompileDependsOn
  10. Condition="'$(ConfigurationType)' != 'Makefile'">_SelectedFiles;$(LolFxCompileDependsOn)</LolFxCompileDependsOn>
  11. </PropertyGroup>
  12. <ItemDefinitionGroup>
  13. <LolFxCompile>
  14. <CommandLineTemplate>@echo off
  15. set D=$(IntDir)%(Filename)%(Extension).cpp
  16. echo /* This file was autogenerated. DO NOT MODIFY IT. */ &gt; "%D%"
  17. echo /* Filename = %(Filename) */ &gt; "%D"
  18. echo /* FullPath = %(FullPath) */ &gt; "%D"
  19. echo /* RootDir = %(RootDir) */ &gt; "%D"
  20. echo /* Directory = %(Directory) */ &gt; "%D"
  21. echo /* Input = %(Input) */ &gt; "%D"
  22. echo /* Output = %(Output) */ &gt; "%D"
  23. echo extern "C" { char const *lolfx_resource_%(Filename) = &gt;&gt; "%D%"
  24. setlocal disabledelayedexpansion
  25. for /F "tokens=1,* delims=`" %%L in ('type "%(Fullpath)"') do (
  26. set "line=%%L"
  27. setlocal enabledelayedexpansion
  28. echo "!line:"=\"!\n" &gt;&gt; "%D%"
  29. endlocal
  30. )
  31. endlocal
  32. echo ;} &gt;&gt; "%D%"</CommandLineTemplate>
  33. <Outputs>$(IntDir)%(FileName)%(Extension).cpp</Outputs>
  34. <ExecutionDescription>%(FileName)%(Extension)</ExecutionDescription>
  35. </LolFxCompile>
  36. </ItemDefinitionGroup>
  37. </Project>