Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
2658dd7c
Commit
2658dd7c
authored
Nov 20, 2013
by
Christian Heimes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add workaround for VS 2010 nmake clean issue. VS 2010 doesn't set up PATH for nmake.exe correctly.
parent
fb099c9e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
7 deletions
+14
-7
Misc/NEWS
Misc/NEWS
+3
-0
PC/python3.mak
PC/python3.mak
+5
-1
PCbuild/python3dll.vcxproj
PCbuild/python3dll.vcxproj
+6
-6
No files found.
Misc/NEWS
View file @
2658dd7c
...
@@ -68,6 +68,9 @@ Tests
...
@@ -68,6 +68,9 @@ Tests
Build
Build
-----
-----
-
Add
workaround
for
VS
2010
nmake
clean
issue
.
VS
2010
doesn
't set up PATH
for nmake.exe correctly.
What'
s
New
in
Python
3.3.3
?
What'
s
New
in
Python
3.3.3
?
===========================
===========================
...
...
PC/python3.mak
View file @
2658dd7c
...
@@ -5,6 +5,10 @@ $(OutDir)python33stub.lib: python33stub.def
...
@@ -5,6 +5,10 @@ $(OutDir)python33stub.lib: python33stub.def
lib /def:python33stub.def /out:
$(OutDir)
python33stub.lib /MACHINE:
$(MACHINE)
lib /def:python33stub.def /out:
$(OutDir)
python33stub.lib /MACHINE:
$(MACHINE)
clean
:
clean
:
del
$(OutDir)
python3.dll
$(OutDir)
python3.lib
$(OutDir)
python33stub.lib
$(OutDir)
python3.exp
$(OutDir)
python33stub.exp
IF EXIST
$(OutDir)
python3.dll del
$(OutDir)
python3.dll
IF EXIST
$(OutDir)
python3.lib del
$(OutDir)
python3.lib
IF EXIST
$(OutDir)
python33stub.lib del
$(OutDir)
python33stub.lib
IF EXIST
$(OutDir)
python3.exp del
$(OutDir)
python3.exp
IF EXIST
$(OutDir)
python33stub.exp del
$(OutDir)
python33stub.exp
rebuild
:
clean $(OutDir)python3.dll
rebuild
:
clean $(OutDir)python3.dll
PCbuild/python3dll.vcxproj
View file @
2658dd7c
...
@@ -99,7 +99,7 @@ nmake /f python3.mak MACHINE=x86 OutDir=$(OutDir)</NMakeBuildCommandLine>
...
@@ -99,7 +99,7 @@ nmake /f python3.mak MACHINE=x86 OutDir=$(OutDir)</NMakeBuildCommandLine>
<NMakeReBuildCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
cd $(ProjectDir)\..\PC
<NMakeReBuildCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
cd $(ProjectDir)\..\PC
nmake /f python3.mak MACHINE=x86 OutDir=$(OutDir) rebuild
</NMakeReBuildCommandLine>
nmake /f python3.mak MACHINE=x86 OutDir=$(OutDir) rebuild
</NMakeReBuildCommandLine>
<NMakeCleanCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
cd $(ProjectDir)\..\PC
<NMakeCleanCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
cd $(ProjectDir)\..\PC
nmake
/f python3.mak MACHINE=x86 OutDir=$(OutDir) clean
</NMakeCleanCommandLine>
"$(VSInstallDir)\VC\bin\nmake.exe"
/f python3.mak MACHINE=x86 OutDir=$(OutDir) clean
</NMakeCleanCommandLine>
<NMakeOutput
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
$(OutDir)python3.dll
</NMakeOutput>
<NMakeOutput
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
$(OutDir)python3.dll
</NMakeOutput>
<NMakePreprocessorDefinitions
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
$(NMakePreprocessorDefinitions)
</NMakePreprocessorDefinitions>
<NMakePreprocessorDefinitions
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
$(NMakePreprocessorDefinitions)
</NMakePreprocessorDefinitions>
<NMakeIncludeSearchPath
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
$(NMakeIncludeSearchPath)
</NMakeIncludeSearchPath>
<NMakeIncludeSearchPath
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
$(NMakeIncludeSearchPath)
</NMakeIncludeSearchPath>
...
@@ -111,7 +111,7 @@ nmake /f python3.mak MACHINE=x64 OutDir=$(OutDir)</NMakeBuildCommandLine>
...
@@ -111,7 +111,7 @@ nmake /f python3.mak MACHINE=x64 OutDir=$(OutDir)</NMakeBuildCommandLine>
<NMakeReBuildCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
cd $(ProjectDir)\..\PC
<NMakeReBuildCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
cd $(ProjectDir)\..\PC
nmake /f python3.mak MACHINE=x64 OutDir=$(OutDir) rebuild
</NMakeReBuildCommandLine>
nmake /f python3.mak MACHINE=x64 OutDir=$(OutDir) rebuild
</NMakeReBuildCommandLine>
<NMakeCleanCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
cd $(ProjectDir)\..\PC
<NMakeCleanCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
cd $(ProjectDir)\..\PC
nmake
/f python3.mak MACHINE=x64 OutDir=$(OutDir) clean
</NMakeCleanCommandLine>
"$(VSInstallDir)\VC\bin\nmake.exe"
/f python3.mak MACHINE=x64 OutDir=$(OutDir) clean
</NMakeCleanCommandLine>
<NMakeOutput
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
$(OutDir)python3.dll
</NMakeOutput>
<NMakeOutput
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
$(OutDir)python3.dll
</NMakeOutput>
<NMakePreprocessorDefinitions
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
$(NMakePreprocessorDefinitions)
</NMakePreprocessorDefinitions>
<NMakePreprocessorDefinitions
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
$(NMakePreprocessorDefinitions)
</NMakePreprocessorDefinitions>
<NMakeIncludeSearchPath
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
$(NMakeIncludeSearchPath)
</NMakeIncludeSearchPath>
<NMakeIncludeSearchPath
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
$(NMakeIncludeSearchPath)
</NMakeIncludeSearchPath>
...
@@ -123,7 +123,7 @@ nmake /f python3.mak MACHINE=x86 OutDir=$(OutDir)</NMakeBuildCommandLine>
...
@@ -123,7 +123,7 @@ nmake /f python3.mak MACHINE=x86 OutDir=$(OutDir)</NMakeBuildCommandLine>
<NMakeReBuildCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|Win32'"
>
cd $(ProjectDir)\..\PC
<NMakeReBuildCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|Win32'"
>
cd $(ProjectDir)\..\PC
nmake /f python3.mak MACHINE=x86 OutDir=$(OutDir) rebuild
</NMakeReBuildCommandLine>
nmake /f python3.mak MACHINE=x86 OutDir=$(OutDir) rebuild
</NMakeReBuildCommandLine>
<NMakeCleanCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|Win32'"
>
cd $(ProjectDir)\..\PC
<NMakeCleanCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|Win32'"
>
cd $(ProjectDir)\..\PC
nmake
/f python3.mak MACHINE=x86 OutDir=$(OutDir) clean
</NMakeCleanCommandLine>
"$(VSInstallDir)\VC\bin\nmake.exe"
/f python3.mak MACHINE=x86 OutDir=$(OutDir) clean
</NMakeCleanCommandLine>
<NMakeOutput
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|Win32'"
>
$(OutDir)python3.dll
</NMakeOutput>
<NMakeOutput
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|Win32'"
>
$(OutDir)python3.dll
</NMakeOutput>
<NMakePreprocessorDefinitions
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|Win32'"
>
$(NMakePreprocessorDefinitions)
</NMakePreprocessorDefinitions>
<NMakePreprocessorDefinitions
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|Win32'"
>
$(NMakePreprocessorDefinitions)
</NMakePreprocessorDefinitions>
<NMakeIncludeSearchPath
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|Win32'"
>
$(NMakeIncludeSearchPath)
</NMakeIncludeSearchPath>
<NMakeIncludeSearchPath
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|Win32'"
>
$(NMakeIncludeSearchPath)
</NMakeIncludeSearchPath>
...
@@ -135,7 +135,7 @@ nmake /f python3.mak MACHINE=x64 OutDir=$(OutDir)</NMakeBuildCommandLine>
...
@@ -135,7 +135,7 @@ nmake /f python3.mak MACHINE=x64 OutDir=$(OutDir)</NMakeBuildCommandLine>
<NMakeReBuildCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|x64'"
>
cd $(ProjectDir)\..\PC
<NMakeReBuildCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|x64'"
>
cd $(ProjectDir)\..\PC
nmake /f python3.mak MACHINE=x64 OutDir=$(OutDir) rebuild
</NMakeReBuildCommandLine>
nmake /f python3.mak MACHINE=x64 OutDir=$(OutDir) rebuild
</NMakeReBuildCommandLine>
<NMakeCleanCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|x64'"
>
cd $(ProjectDir)\..\PC
<NMakeCleanCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|x64'"
>
cd $(ProjectDir)\..\PC
nmake
/f python3.mak MACHINE=x64 OutDir=$(OutDir) clean
</NMakeCleanCommandLine>
"$(VSInstallDir)\VC\bin\nmake.exe"
/f python3.mak MACHINE=x64 OutDir=$(OutDir) clean
</NMakeCleanCommandLine>
<NMakeOutput
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|x64'"
>
$(OutDir)python3.dll
</NMakeOutput>
<NMakeOutput
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|x64'"
>
$(OutDir)python3.dll
</NMakeOutput>
<NMakePreprocessorDefinitions
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|x64'"
>
$(NMakePreprocessorDefinitions)
</NMakePreprocessorDefinitions>
<NMakePreprocessorDefinitions
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|x64'"
>
$(NMakePreprocessorDefinitions)
</NMakePreprocessorDefinitions>
<NMakeIncludeSearchPath
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|x64'"
>
$(NMakeIncludeSearchPath)
</NMakeIncludeSearchPath>
<NMakeIncludeSearchPath
Condition=
"'$(Configuration)|$(Platform)'=='PGInstrument|x64'"
>
$(NMakeIncludeSearchPath)
</NMakeIncludeSearchPath>
...
@@ -147,7 +147,7 @@ nmake /f python3.mak MACHINE=x86 OutDir=$(OutDir)</NMakeBuildCommandLine>
...
@@ -147,7 +147,7 @@ nmake /f python3.mak MACHINE=x86 OutDir=$(OutDir)</NMakeBuildCommandLine>
<NMakeReBuildCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|Win32'"
>
cd $(ProjectDir)\..\PC
<NMakeReBuildCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|Win32'"
>
cd $(ProjectDir)\..\PC
nmake /f python3.mak MACHINE=x86 OutDir=$(OutDir) rebuild
</NMakeReBuildCommandLine>
nmake /f python3.mak MACHINE=x86 OutDir=$(OutDir) rebuild
</NMakeReBuildCommandLine>
<NMakeCleanCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|Win32'"
>
cd $(ProjectDir)\..\PC
<NMakeCleanCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|Win32'"
>
cd $(ProjectDir)\..\PC
nmake
/f python3.mak MACHINE=x86 OutDir=$(OutDir) clean
</NMakeCleanCommandLine>
"$(VSInstallDir)\VC\bin\nmake.exe"
/f python3.mak MACHINE=x86 OutDir=$(OutDir) clean
</NMakeCleanCommandLine>
<NMakeOutput
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|Win32'"
>
$(OutDir)python3.dll
</NMakeOutput>
<NMakeOutput
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|Win32'"
>
$(OutDir)python3.dll
</NMakeOutput>
<NMakePreprocessorDefinitions
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|Win32'"
>
$(NMakePreprocessorDefinitions)
</NMakePreprocessorDefinitions>
<NMakePreprocessorDefinitions
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|Win32'"
>
$(NMakePreprocessorDefinitions)
</NMakePreprocessorDefinitions>
<NMakeIncludeSearchPath
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|Win32'"
>
$(NMakeIncludeSearchPath)
</NMakeIncludeSearchPath>
<NMakeIncludeSearchPath
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|Win32'"
>
$(NMakeIncludeSearchPath)
</NMakeIncludeSearchPath>
...
@@ -159,7 +159,7 @@ nmake /f python3.mak MACHINE=x64 OutDir=$(OutDir)</NMakeBuildCommandLine>
...
@@ -159,7 +159,7 @@ nmake /f python3.mak MACHINE=x64 OutDir=$(OutDir)</NMakeBuildCommandLine>
<NMakeReBuildCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|x64'"
>
cd $(ProjectDir)\..\PC
<NMakeReBuildCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|x64'"
>
cd $(ProjectDir)\..\PC
nmake /f python3.mak MACHINE=x64 OutDir=$(OutDir) rebuild
</NMakeReBuildCommandLine>
nmake /f python3.mak MACHINE=x64 OutDir=$(OutDir) rebuild
</NMakeReBuildCommandLine>
<NMakeCleanCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|x64'"
>
cd $(ProjectDir)\..\PC
<NMakeCleanCommandLine
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|x64'"
>
cd $(ProjectDir)\..\PC
nmake
/f python3.mak MACHINE=x64 OutDir=$(OutDir) clean
</NMakeCleanCommandLine>
"$(VSInstallDir)\VC\bin\nmake.exe"
/f python3.mak MACHINE=x64 OutDir=$(OutDir) clean
</NMakeCleanCommandLine>
<NMakeOutput
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|x64'"
>
$(OutDir)python3.dll
</NMakeOutput>
<NMakeOutput
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|x64'"
>
$(OutDir)python3.dll
</NMakeOutput>
<NMakePreprocessorDefinitions
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|x64'"
>
$(NMakePreprocessorDefinitions)
</NMakePreprocessorDefinitions>
<NMakePreprocessorDefinitions
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|x64'"
>
$(NMakePreprocessorDefinitions)
</NMakePreprocessorDefinitions>
<NMakeIncludeSearchPath
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|x64'"
>
$(NMakeIncludeSearchPath)
</NMakeIncludeSearchPath>
<NMakeIncludeSearchPath
Condition=
"'$(Configuration)|$(Platform)'=='PGUpdate|x64'"
>
$(NMakeIncludeSearchPath)
</NMakeIncludeSearchPath>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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