ForceRebuild.props 1.2 KB

1234567891011121314151617181920212223242526
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <ImportGroup Label="PropertySheets" />
  4. <PropertyGroup Label="UserMacros" />
  5. <PropertyGroup />
  6. <ItemDefinitionGroup>
  7. <PreBuildEvent>
  8. <Command>echo static const char* OVR_FORCE_REBUILD_PRE = __TIMESTAMP__; /* DO NOT SOURCE CONTROL THIS FILE */ &gt; "$(ProjectDir)OVR_ForceRebuildNoCheckin.h"</Command>
  9. </PreBuildEvent>
  10. </ItemDefinitionGroup>
  11. <ItemDefinitionGroup>
  12. <PreBuildEvent>
  13. <Message>Force a rebuild. Please do not check in the ForceRebuildNoCheckin.h file.</Message>
  14. </PreBuildEvent>
  15. <PostBuildEvent>
  16. <Command>echo static const char* OVR_FORCE_REBUILD_POST = __TIMESTAMP__; /* DO NOT SOURCE CONTROL THIS FILE */ &gt; "$(ProjectDir)OVR_ForceRebuildNoCheckin.h"</Command>
  17. </PostBuildEvent>
  18. <PostBuildEvent>
  19. <Message>Force a rebuild. Please do not check in the ForceRebuildNoCheckin.h file.</Message>
  20. </PostBuildEvent>
  21. <ClCompile>
  22. <ForcedIncludeFiles>"$(ProjectDir)OVR_ForceRebuildNoCheckin.h"</ForcedIncludeFiles>
  23. </ClCompile>
  24. </ItemDefinitionGroup>
  25. <ItemGroup />
  26. </Project>