Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
b1dbbd32
Commit
b1dbbd32
authored
Nov 07, 2015
by
stijn
Committed by
Paul Sokolovsky
Nov 10, 2015
Browse files
windows: Allow specifying the python executable to use for msvc builds
This defaults to 'python' but can be now overridden if needed
parent
1b9d161f
Changes
1
Hide whitespace changes
Inline
Side-by-side
windows/msvc/genhdr.targets
View file @
b1dbbd32
...
...
@@ -10,6 +10,7 @@
<PropertyGroup>
<DestDir>
$(PyBuildDir)genhdr\
</DestDir>
<PySrcDir>
$(PyBaseDir)py\
</PySrcDir>
<PyPython
Condition=
"'$(PyPython)' == ''"
>
python
</PyPython>
</PropertyGroup>
<Target
Name=
"MakeDestDir"
>
...
...
@@ -27,7 +28,7 @@
<PyIncDirs
Include=
"$(PyIncDirs)"
/>
</ItemGroup>
<Exec
Command=
"cl /nologo /I@(PyIncDirs, ' /I') /Fi$(PreProc) /P $(PySrcDir)qstrdefs.h"
/>
<Exec
Command=
"
p
ython $(PySrcDir)makeqstrdata.py $(PreProc) $(QstrDefs) > $(TmpFile)"
/>
<Exec
Command=
"
$(PyP
ython
)
$(PySrcDir)makeqstrdata.py $(PreProc) $(QstrDefs) > $(TmpFile)"
/>
<MSBuild
Projects=
"$(MSBuildThisFileFullPath)"
Targets=
"CopyFileIfDifferent"
Properties=
"SourceFile=$(TmpFile);DestFile=$(DestFile)"
/>
</Target>
...
...
@@ -36,7 +37,7 @@
<DestFile>
$(DestDir)mpversion.h
</DestFile>
<TmpFile>
$(DestFile).tmp
</TmpFile>
</PropertyGroup>
<Exec
Command=
"
p
ython $(PySrcDir)makeversionhdr.py $(TmpFile)"
/>
<Exec
Command=
"
$(PyP
ython
)
$(PySrcDir)makeversionhdr.py $(TmpFile)"
/>
<MSBuild
Projects=
"$(MSBuildThisFileFullPath)"
Targets=
"CopyFileIfDifferent"
Properties=
"SourceFile=$(TmpFile);DestFile=$(DestFile)"
/>
</Target>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment