MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0010068 | CMake | Modules | public | 2009-12-18 19:00 | 2011-05-02 14:45 |
|
Reporter | Peter Collingbourne | |
Assigned To | Marcus D. Hanwell | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | CMake-2-8 | |
Target Version | | Fixed in Version | CMake 2.8.3 | |
|
Summary | 0010068: Use Python naming convention for extension modules created using PYTHON_ADD_MODULE |
Description | It would be nice if Python extension modules declared using PYTHON_ADD_MODULE and built as a shared object were named using the correct naming conventions (i.e. no lib prefix, .pyd suffix on Windows) so that Python can find them automatically. I am attaching a patch which modifies PYTHON_ADD_MODULE to set an appropriate PREFIX and SUFFIX based on the platform.
This has been tested on Windows and Linux, I am unaware of the conventions on other platforms. |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | 0002-Use-Python-naming-convention-for-extension-modules-c.patch (1,213) 2009-12-18 19:01 https://public.kitware.com/Bug/file/2731/0002-Use-Python-naming-convention-for-extension-modules-c.patch |
|
Issue History |
Date Modified | Username | Field | Change |
2009-12-18 19:00 | Peter Collingbourne | New Issue | |
2009-12-18 19:01 | Peter Collingbourne | File Added: 0002-Use-Python-naming-convention-for-extension-modules-c.patch | |
2010-12-14 17:08 | David Cole | Assigned To | => Marcus D. Hanwell |
2010-12-14 17:08 | David Cole | Status | new => assigned |
2011-01-10 13:12 | Marcus D. Hanwell | Note Added: 0024540 | |
2011-01-10 13:12 | Marcus D. Hanwell | Status | assigned => resolved |
2011-01-10 13:12 | Marcus D. Hanwell | Fixed in Version | => CMake 2.8.3 |
2011-01-10 13:12 | Marcus D. Hanwell | Resolution | open => fixed |
2011-05-02 14:45 | David Cole | Note Added: 0026328 | |
2011-05-02 14:45 | David Cole | Status | resolved => closed |