aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/00-Common.cmake
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-03-30 02:15:45 -0700
committerMcCabe Maxsted2009-03-30 02:15:45 -0700
commitddcda555e7a3f0d774aef7fd5e955ef1c3b43ddd (patch)
tree1c4b9288061cf0fc8df1f46d2ddf95912be6a9bc /linden/indra/cmake/00-Common.cmake
parentremoved gst_element_get_state (diff)
downloadmeta-impy-ddcda555e7a3f0d774aef7fd5e955ef1c3b43ddd.zip
meta-impy-ddcda555e7a3f0d774aef7fd5e955ef1c3b43ddd.tar.gz
meta-impy-ddcda555e7a3f0d774aef7fd5e955ef1c3b43ddd.tar.bz2
meta-impy-ddcda555e7a3f0d774aef7fd5e955ef1c3b43ddd.tar.xz
Added VS optimizations to cmake
Diffstat (limited to 'linden/indra/cmake/00-Common.cmake')
-rw-r--r--linden/indra/cmake/00-Common.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake
index c41591f..0866a32 100644
--- a/linden/indra/cmake/00-Common.cmake
+++ b/linden/indra/cmake/00-Common.cmake
@@ -57,6 +57,13 @@ if (WINDOWS)
57 /Zc:wchar_t- 57 /Zc:wchar_t-
58 ) 58 )
59 endif (MSVC80 OR MSVC90) 59 endif (MSVC80 OR MSVC90)
60
61 # VS optimization flags
62 if(MSVC80)
63 set(CMAKE_CXX_FLAGS_RELEASE
64 "${CMAKE_CXX_FLAGS_RELEASE} /Ob2 /Oi /Ot /GT"
65 CACHE STRING "C++ compiler release options" FORCE)
66 endif (MSVC80)
60 67
61 # Are we using the crummy Visual Studio KDU build workaround? 68 # Are we using the crummy Visual Studio KDU build workaround?
62 if (NOT VS_DISABLE_FATAL_WARNINGS) 69 if (NOT VS_DISABLE_FATAL_WARNINGS)