View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015940 | CMake | CMake | public | 2016-01-28 18:32 | 2016-06-10 14:31 | ||||
Reporter | Guy Harris | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | N/A | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 2.8.12.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015940: There doesn't appear to be a cross-platform way to set flags to be used at compile time but not at link time | ||||||||
Description | It appears that if a flag is added to CMAKE_C_FLAGS, it will be used not only at compile time but also at link time, at least for some platform/compiler combinations. Many such flags are, at best, not helpful at link time, and clutter the command line used for linking. Some might also not work at link time. Unix make, and autotools, keep compiler flags (CFLAGS/CXXFLAGS/etc.) and linker flags (LDFLAGS) separate. CMake should provide a way to do the same. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0042925) 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 |
2016-01-28 18:32 | Guy Harris | New Issue | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042925 | |
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 |