summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorKristján Valur Jónsson <kristjan@ccpgames.com>2007-04-30 15:17:46 (GMT)
committerKristján Valur Jónsson <kristjan@ccpgames.com>2007-04-30 15:17:46 (GMT)
commit7a0da19087bfd5e01bcada885b4d0786749b99cf (patch)
treeb297e4cfebe2fa28eaf0952cfc1765fa13f830c0 /PC
parent714e19a7bd906c46af0b8258d5d3c41cfe1b7a89 (diff)
downloadcpython-7a0da19087bfd5e01bcada885b4d0786749b99cf.zip
cpython-7a0da19087bfd5e01bcada885b4d0786749b99cf.tar.gz
cpython-7a0da19087bfd5e01bcada885b4d0786749b99cf.tar.bz2
Complete revamp of PCBuild8 directory. Use subdirectories for each project under the main pcbuild solution. Now make extensive use of property sheets to simplify project configuration. x64 build fully supported, and the process for building PGO version (Profiler Guided Optimization) simplified. All projects are now present, except _ssl, which needs to be reimplemented. Also, some of the projects that require external libraries need extra work to fully compile on x64.
Diffstat (limited to 'PC')
-rw-r--r--PC/make_versioninfo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/PC/make_versioninfo.c b/PC/make_versioninfo.c
index 41c026f..b9f9b88 100644
--- a/PC/make_versioninfo.c
+++ b/PC/make_versioninfo.c
@@ -27,7 +27,12 @@ int main(int argc, char **argv)
PY_MICRO_VERSION*1000 + PY_RELEASE_LEVEL*10 + PY_RELEASE_SERIAL);
printf("#define MS_DLL_ID \"%d.%d\"\n",
PY_MAJOR_VERSION, PY_MINOR_VERSION);
+ printf("#ifndef _DEBUG\n");
printf("#define PYTHON_DLL_NAME \"python%d%d.dll\"\n",
PY_MAJOR_VERSION, PY_MINOR_VERSION);
+ printf("#else\n");
+ printf("#define PYTHON_DLL_NAME \"python%d%d_d.dll\"\n",
+ PY_MAJOR_VERSION, PY_MINOR_VERSION);
+ printf("#endif\n");
return 0;
}