summaryrefslogtreecommitdiffstats
path: root/PCbuild/python.vcxproj
diff options
context:
space:
mode:
Diffstat (limited to 'PCbuild/python.vcxproj')
-rw-r--r--PCbuild/python.vcxproj7
1 files changed, 7 insertions, 0 deletions
diff --git a/PCbuild/python.vcxproj b/PCbuild/python.vcxproj
index b58945a..0b4329d 100644
--- a/PCbuild/python.vcxproj
+++ b/PCbuild/python.vcxproj
@@ -147,4 +147,11 @@ $(_PGOPath)
</PropertyGroup>
<WriteLinesToFile File="$(PySourcePath)python.bat" Lines="$(_Content)" Overwrite="true" Condition="'$(_Content)' != '$(_ExistingContent)'" />
</Target>
+ <Target Name="GeneratePyBuildDirTxt" BeforeTargets="AfterBuild">
+ <PropertyGroup>
+ <_Content>$(OutDir)</_Content>
+ <_ExistingContent Condition="Exists('$(OutDir)pybuilddir.txt')">$([System.IO.File]::ReadAllText('$(OutDir)pybuilddir.txt'))</_ExistingContent>
+ </PropertyGroup>
+ <WriteLinesToFile File="$(OutDir)pybuilddir.txt" Lines="$(_Content)" Overwrite="true" Condition="'$(_Content)' != '$(_ExistingContent)'" />
+ </Target>
</Project>