summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-06-27 07:54:48 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-08-08 17:24:00 +0200
commit224a49e95723b74640ac9f99f9d33be6ee3686d2 (patch)
treefeacc678c8fb0352ca6b03b1558d122bbe450e12
parentdf262c7d3049477a23cde85bdabdcdea7f7eebb0 (diff)
cmake: merged target properties on winman, added IPO/LTO
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-rw-r--r--src/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index aa1c2a0..70f2ad3 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -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)