cmake: merged target properties on winman, added IPO/LTO
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>
Tue, 27 Jun 2017 05:54:48 +0000 (07:54 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Tue, 8 Aug 2017 15:24:00 +0000 (17:24 +0200)
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
src/CMakeLists.txt

index aa1c2a0..70f2ad3 100644 (file)
@@ -21,12 +21,12 @@ target_compile_options(winman
 
 set_target_properties(winman
     PROPERTIES
+        INTERPROCEDURAL_OPTIMIZATION ON
+
         CXX_EXTENSIONS OFF
         CXX_STANDARD 14
-        CXX_STANDARD_REQUIRED ON)
+        CXX_STANDARD_REQUIRED ON
 
-set_target_properties(winman
-    PROPERTIES
         C_EXTENSIONS OFF
         C_STANDARD 99
         C_STANDARD_REQUIRED ON)