MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0013323 | CMake | CMake | public | 2012-06-20 08:02 | 2012-11-05 14:33 |
| Reporter | Mariusz Plucinski | ||||
| Assigned To | Brad King | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | x64 | OS | Windows | OS Version | 7 x64 |
| Product Version | CMake 2.8.8 | ||||
| Target Version | CMake 2.8.9 | Fixed in Version | CMake 2.8.9 | ||
| Summary | 0013323: CMake crashes if language is set inproperly. | ||||
| Description | Found it during experimenting with adding new language support. CMake crashes when there is a problem with source file language property. | ||||
| Steps To Reproduce | 1. Create CMakeLists.txt and put the following code: project(BugTest) cmake_minimum_required(VERSION 2.8) add_executable(Foo Bar.asd) set_target_properties(Foo PROPERTIES LINKER_LANGUAGE asd) 2. Create empty Bar.asd file 3. Run "cmake ." under Windows, using Visual Studio 10 generator. | ||||
| Additional Information | Expected result: Getting an error message about missing variable: CMAKE_asd_LINK_EXECUTABLE Actual result: Application crash (Access violation). Attached patch fixes an error. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/4367/cmake_cmLocalGenerator.patch | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-06-20 08:02 | Mariusz Plucinski | New Issue | |||
| 2012-06-20 08:02 | Mariusz Plucinski | File Added: cmake_cmLocalGenerator.patch | |||
| 2012-06-20 09:10 | Brad King | Note Added: 0029765 | |||
| 2012-06-20 09:10 | Brad King | Assigned To | => Brad King | ||
| 2012-06-20 09:10 | Brad King | Status | new => resolved | ||
| 2012-06-20 09:10 | Brad King | Resolution | open => fixed | ||
| 2012-06-20 09:10 | Brad King | Fixed in Version | => CMake 2.8.9 | ||
| 2012-06-20 09:10 | Brad King | Target Version | => CMake 2.8.9 | ||
| 2012-11-05 14:33 | David Cole | Note Added: 0031455 | |||
| 2012-11-05 14:33 | David Cole | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||