PCHCreate.props 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project>
  3. <ImportGroup Label="PropertySheets">
  4. <Import Project="PCHCommon.props" />
  5. </ImportGroup>
  6. <PropertyGroup Label="UserMacros" />
  7. <ItemDefinitionGroup>
  8. <ClCompile>
  9. <PrecompiledHeader>Create</PrecompiledHeader>
  10. </ClCompile>
  11. </ItemDefinitionGroup>
  12. <!--
  13. Hacks preventing PCH creators from spending time generating .lib files.
  14. It is just an optimization to save some time since only .obj outputs are
  15. really needed by PCH users.
  16. -->
  17. <ItemDefinitionGroup>
  18. <Lib>
  19. <!--
  20. Clear the output path so projects referencing this one don't try to drag
  21. in a nonexistant .lib file.
  22. -->
  23. <OutputFile />
  24. </Lib>
  25. </ItemDefinitionGroup>
  26. <!--This prevents the _Lib target from being executed-->
  27. <PropertyGroup>
  28. <BuildLibTargets>$(BuildLibTargets);ClearLibCompiled</BuildLibTargets>
  29. </PropertyGroup>
  30. <Target Name="ClearLibCompiled">
  31. <PropertyGroup>
  32. <LibCompiled>false</LibCompiled>
  33. </PropertyGroup>
  34. </Target>
  35. <!--End .lib hacks-->
  36. </Project>