Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | IPO: Consider support for each language separately | Brad King | 2017-06-14 | 1 | -1/+1 |
| | | | | | | | | | We only define `INTERPROCEDURAL_OPTIMIZATION` behavior for C, CXX, and Fortran languages. Do not try to enable support for other languages. Furthermore, each language builds with a different compiler, so check for support by CMake and the compiler for each language independently. Fixes: #16944 | ||||
* | Add policy CMP0069 to enforce INTERPROCEDURAL_OPTIMIZATION | Ruslan Baratov | 2017-03-30 | 1 | -0/+4 |
Previously the `INTERPROCEDURAL_OPTIMIZATION` target property was honored only for the Intel compiler on Linux and otherwise ignored. In order to add support for more compilers incrementally without changing behavior in the future, add a new policy whose NEW behavior enforces the `INTERPROCEDURAL_OPTIMIZATION` property. Add flags for supported compilers and otherwise produce an error. |