diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-06-27 07:54:48 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-08 17:24:00 +0200 |
commit | 224a49e95723b74640ac9f99f9d33be6ee3686d2 (patch) | |
tree | feacc678c8fb0352ca6b03b1558d122bbe450e12 | |
parent | df262c7d3049477a23cde85bdabdcdea7f7eebb0 (diff) |
cmake: merged target properties on winman, added IPO/LTO
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-rw-r--r-- | src/CMakeLists.txt | 6 |
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) |