Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

Lol.Fx.props 1.2 KiB

123456789101112131415161718192021222324252627282930
  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 char const *lolfx_%(Filename) = &gt;&gt; "%D%"
  18. setlocal disabledelayedexpansion
  19. for /F "tokens=1,* delims=`" %%L in ('type "%(Fullpath)"') do (
  20. set "line=%%L"
  21. setlocal enabledelayedexpansion
  22. echo "!line:"=\"!\n" &gt;&gt; "%D%"
  23. endlocal
  24. )
  25. endlocal
  26. echo ; &gt;&gt; "%D%"</CommandLineTemplate>
  27. <ExecutionDescription>Compiling with Lol Fx Build Rule...</ExecutionDescription>
  28. </LolFxCompile>
  29. </ItemDefinitionGroup>
  30. </Project>