| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0002360 | CMake | CMake | public | 2005-10-12 11:46 | 2016-06-10 14:30 | ||||
| Reporter | Filipe Sousa | ||||||||
| Assigned To | Bill Hoffman | ||||||||
| Priority | low | Severity | feature | Reproducibility | always | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0002360: Support for new source file extensions | ||||||||
| Description | It's not possible to add new source file extensions through CMAKE_CXX_SOURCE_FILE_EXTENSIONS What I'd like to do is something like this SET(CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${CMAKE_CXX_SOURCE_FILE_EXTENSIONS} xy) so that cmake com recognize "xy" as source file that can be compiled | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0015559) David Faure (reporter) 2009-03-05 05:04 |
I need this too. We tried to use cmake to build a customer's code, and we had to add ".CPP" as an extension for C++. Setting the CMAKE_CXX_SOURCE_FILE_EXTENSIONS variable didn't work (it's evaluated too early, as issue 4242 mentionned). The workaround we found was to do SET_SOURCE_FILES_PROPERTIES( ${SOURCES} PROPERTIES LANGUAGE CXX ) in every cmakelist.txt, but that's a bit too much trouble (and certainly it was a waste of time finding out why setting the variable didn't work). |
|
(0041301) Kitware Robot (administrator) 2016-06-10 14:27 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2009-03-05 05:04 | David Faure | Note Added: 0015559 | |
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041301 | |
| 2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved |
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved |
| 2016-06-10 14:30 | Kitware Robot | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |