MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015472 | CMake | (No Category) | public | 2015-03-23 20:15 | 2016-06-10 14:31 |
| Reporter | Stephen Kelly | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0015472: CMake does not deduplicate defines which have the same name but different value | ||||
| Description | cmake_minimum_required(VERSION 2.8) project(cmaketest) add_executable(mn main.cpp) target_compile_definitions(mn PRIVATE TESTD=1 TESTD=3) set_source_files_properties(main.cpp PROPERTIES COMPILE_DEFINITIONS TESTD=5) CMake currently passes all of the defines, and the compiler (gcc at least) warns about redefinition. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-03-23 20:15 | Stephen Kelly | New Issue | |||
| 2015-03-24 08:56 | Brad King | Note Added: 0038284 | |||
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042744 | |||
| 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 | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||