MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0006799 | CMake | CMake | public | 2008-04-14 10:32 | 2008-06-19 07:42 |
| Reporter | Douglas Gregor | ||||
| Assigned To | David Cole | ||||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-6 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0006799: Curses-based cmake (ccmake) crashes with exported targets on Mac OS X | ||||
| Description | ccmake (the curses-based CMake) crashes when generating makefiles on Mac OS X if the CMakeLists.txt file contains any exported targets. This has happened with the few CMake 2.6.0 release candidates I've tried, including the latest (RC8), on Mac OS X Tiger and Leopard (x86). The command-line "cmake" is okay, and after "ccmake" crashes once while generating makefiles, it is fine. Further uses of "ccmake" or "cmake" within that build tree are fine. To reproduce this, I created a minimal CMakeLists.txt file with the following commands: cmake_minimum_required(VERSION 2.6) add_executable(generator generator.c) install(TARGETS generator DESTINATION lib/myproj/generators EXPORT myproj-targets) install(EXPORT myproj-targets DESTINATION lib/myproj) generator.c is just a stub file containing: int main() {} Run "ccmake" on the directory containing this files, hit "c" twice to configure, then hit "g"... and I get a segfault. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2008-04-14 10:32 | Douglas Gregor | New Issue | |||
| 2008-04-14 10:42 | Bill Hoffman | Status | new => assigned | ||
| 2008-04-14 10:42 | Bill Hoffman | Assigned To | => David Cole | ||
| 2008-06-19 07:41 | David Cole | Note Added: 0012413 | |||
| 2008-06-19 07:42 | David Cole | Status | assigned => closed | ||
| 2008-06-19 07:42 | David Cole | Note Added: 0012414 | |||
| 2008-06-19 07:42 | David Cole | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||