MantisBT - CMake | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0015934 | CMake | CMake | public | 2016-01-26 02:58 | 2016-06-10 14:31 | |||||
| Reporter | Guy Harris | |||||||||
| Assigned To | Kitware Robot | |||||||||
| Priority | normal | Severity | minor | Reproducibility | N/A | |||||
| Status | closed | Resolution | moved | |||||||
| Platform | all | OS | all | OS Version | all | |||||
| Product Version | CMake 2.8.12.2 | |||||||||
| Target Version | Fixed in Version | |||||||||
| Summary | 0015934: There's no way to test whether a given *linker* flag works | |||||||||
| Description | There are macros to test whether a given *compiler* flag works, such as CHECK_C_COMPILER_FLAG and CHECK_CXX_COMPILER_FLAG. There is no macro to test whether a given *linker* flag works. Furthermore, there does not appear to be a way to do a CHECK_C_SOURCE_RUNS with a given *linker* flag, so there does not appear to be a way to *write* a macro to test whether a given linker flag works. Setting CMAKE_REQUIRED_FLAGS does *not* affect what flags are used with, for example, the Xcode generator; it works with the Unix makefile generator, but that's not sufficient to support multiple build systems. | |||||||||
| Steps To Reproduce | ||||||||||
| Additional Information | ||||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | ||||||||||
| Issue History | ||||||||||
| Date Modified | Username | Field | Change | |||||||
| 2016-01-26 02:58 | Guy Harris | New Issue | ||||||||
| 2016-01-26 10:02 | Brad King | Relationship added | related to 0014066 | |||||||
| 2016-01-26 10:09 | Brad King | Note Added: 0040327 | ||||||||
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042921 | ||||||||
| 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 | |||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||