View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015593 | CMake | CMake | public | 2015-05-29 07:31 | 2016-06-10 14:31 | ||||
Reporter | Art | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 3.2.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015593: Overriding the project configuration (CMAKE_C_SOURCE_FILE_EXTENSIONS) | ||||||||
Description | During the operation of the module CMakeCCompiler.cmake.in comes to overwrite the user's configuration parameter CMAKE_C_SOURCE_FILE_EXTENSIONS Proposed solution: https://github.com/Kitware/CMake/blob/master/Modules/CMakeCCompiler.cmake.in#L34 [^] set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) Can be replaced on IF(NOT CMAKE_C_SOURCE_FILE_EXTENSIONS) set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) ENDIF() | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0038871) Brad King (manager) 2015-06-01 16:30 |
The list must be stored in the configured CMakeCCompiler.cmake because that is re-used for try_compile projects, and it must remain consistent. This variable is not actually meant for projects to set directly. We do provide the LANGUAGE source file property: http://www.cmake.org/cmake/help/v3.2/prop_sf/LANGUAGE.html [^] that can be used to mark a specific source as C. What extension are you trying to add? |
(0042787) Kitware Robot (administrator) 2016-06-10 14:29 |
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 |
2015-05-29 07:31 | Art | New Issue | |
2015-06-01 16:30 | Brad King | Note Added: 0038871 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042787 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |