MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0012514 | CMake | CMake | public | 2011-10-11 16:36 | 2016-06-10 14:31 |
| Reporter | AerialX | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | CMake 2.8.6 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0012514: Objective-C files compile as C++ language | ||||
| Description | CMAKE_CXX_SOURCE_FILE_EXTENSIONS defaults to including both the .mm and .m extensions. While .mm is indeed used for Objective-C++, .m is Objective-C and should be moved into CMAKE_C_SOURCE_FILE_EXTENSIONS instead. As it is not currently possible to change these variables as a user or in a toolchain file, the only workaround is to manually mark your .m files as C language with set_source_files_properties. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-10-11 16:36 | AerialX | New Issue | |||
| 2012-08-11 21:09 | David Cole | Status | new => backlog | ||
| 2012-08-11 21:09 | David Cole | Note Added: 0030339 | |||
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0041916 | |||
| 2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
| 2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||