mirror of https://github.com/python/cpython
Port to Python 2.5. Drop .DEF file. Change output file names to .pyd.
This commit is contained in:
parent
3c134a2046
commit
449be38305
|
@ -13,7 +13,7 @@ static PyMethodDef example_methods[] = {
|
|||
{NULL, NULL}
|
||||
};
|
||||
|
||||
void
|
||||
PyMODINIT_FUNC
|
||||
initexample(void)
|
||||
{
|
||||
Py_InitModule("example", example_methods);
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
EXPORTS
|
||||
initexample
|
|
@ -39,12 +39,12 @@
|
|||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/export:initexample"
|
||||
AdditionalDependencies="odbc32.lib odbccp32.lib python24.lib"
|
||||
OutputFile=".\Release/example.dll"
|
||||
AdditionalDependencies="odbc32.lib odbccp32.lib python25.lib"
|
||||
OutputFile=".\Release/example.pyd"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
AdditionalLibraryDirectories="..\PCbuild"
|
||||
ModuleDefinitionFile=".\example.def"
|
||||
ModuleDefinitionFile=""
|
||||
ProgramDatabaseFile=".\Release/example.pdb"
|
||||
SubSystem="2"
|
||||
ImportLibrary=".\Release/example.lib"
|
||||
|
@ -105,12 +105,12 @@
|
|||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalOptions="/export:initexample"
|
||||
AdditionalDependencies="odbc32.lib odbccp32.lib python24_d.lib"
|
||||
OutputFile=".\Debug/example_d.dll"
|
||||
AdditionalDependencies="odbc32.lib odbccp32.lib python25_d.lib"
|
||||
OutputFile=".\Debug/example_d.pyd"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
AdditionalLibraryDirectories="..\PCbuild"
|
||||
ModuleDefinitionFile=".\example.def"
|
||||
ModuleDefinitionFile=""
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile=".\Debug/example_d.pdb"
|
||||
SubSystem="2"
|
||||
|
@ -171,9 +171,6 @@
|
|||
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;$(NoInherit)"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="example.def">
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
|
|
Loading…
Reference in New Issue