MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0011715 | CMake | Modules | public | 2011-01-17 12:17 | 2011-05-02 14:46 |
Reporter | Marcel Loose | ||||
Assigned To | Marcus D. Hanwell | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | CMake 2.8.3 | ||||
Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | ||
Summary | 0011715: FindPythonLibs: python_write_modules_header() write in source tree and fails silently | ||||
Description | The function python_write_modules_header() generates a file in the source tree, because the filename supplied to FILE(WRITE ...) is not absolute. Then the "copy_if_different" command further down fails silently (I guess because it cannot find the input file). | ||||
Steps To Reproduce | $ cat << EOF > CMakeLists.txt cmake_minimum_required(VERSION 2.6) project(MyPython) find_package(PythonLibs) python_add_module(pyfoo pyfoo.cc) python_write_modules_header(mypython.h) EOF $ touch pyfoo.cc $ mkdir build $ cd build $ cmake .. $ ls .. build CMakeLists.txt mypython.h.in pyfoo.cc | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | FindPythonLibs.cmake.patch (565) 2011-01-17 12:19 https://public.kitware.com/Bug/file/3638/FindPythonLibs.cmake.patch | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-01-17 12:17 | Marcel Loose | New Issue | |||
2011-01-17 12:19 | Marcel Loose | File Added: FindPythonLibs.cmake.patch | |||
2011-01-17 12:19 | Marcel Loose | Note Added: 0024770 | |||
2011-01-17 13:38 | Brad King | Assigned To | => Marcus D. Hanwell | ||
2011-01-17 13:38 | Brad King | Status | new => assigned | ||
2011-01-17 15:33 | Marcus D. Hanwell | Note Added: 0024802 | |||
2011-01-18 14:19 | David Cole | Category | (No Category) => Modules | ||
2011-01-20 08:15 | David Cole | Target Version | => CMake 2.8.4 | ||
2011-01-20 08:15 | David Cole | Status | assigned => resolved | ||
2011-01-20 08:15 | David Cole | Fixed in Version | => CMake 2.8.4 | ||
2011-01-20 08:15 | David Cole | Resolution | open => fixed | ||
2011-05-02 14:46 | David Cole | Note Added: 0026370 | |||
2011-05-02 14:46 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|