From 1588a577d16cfb1a689a444b1db1df3ccff2cc3d Mon Sep 17 00:00:00 2001 From: Ruslan Baratov Date: Thu, 9 Mar 2017 21:05:19 +0800 Subject: Add policy CMP0069 to enforce INTERPROCEDURAL_OPTIMIZATION 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. --- Tests/RunCMake/CMP0069/CMP0069-NEW-compiler-result.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 Tests/RunCMake/CMP0069/CMP0069-NEW-compiler-result.txt (limited to 'Tests/RunCMake/CMP0069/CMP0069-NEW-compiler-result.txt') diff --git a/Tests/RunCMake/CMP0069/CMP0069-NEW-compiler-result.txt b/Tests/RunCMake/CMP0069/CMP0069-NEW-compiler-result.txt new file mode 100644 index 0000000000..d00491fd7e --- /dev/null +++ b/Tests/RunCMake/CMP0069/CMP0069-NEW-compiler-result.txt @@ -0,0 +1 @@ +1 -- cgit v1.2.1