diff options
-rw-r--r-- | ChangeLog.txt | 4 | ||||
-rw-r--r-- | linden/indra/cmake/00-Common.cmake | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 476fd5e..e302c11 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -7,6 +7,10 @@ | |||
7 | Removed unnecessary headers. | 7 | Removed unnecessary headers. |
8 | 8 | ||
9 | 9 | ||
10 | * linden/indra/cmake/00-Common.cmake | ||
11 | Added VS optimizations to cmake | ||
12 | |||
13 | |||
10 | 2009-03-28 Jacek Antonelli <jacek.antonelli@gmail.com> | 14 | 2009-03-28 Jacek Antonelli <jacek.antonelli@gmail.com> |
11 | 15 | ||
12 | * linden/indra/llmedia/llmediaimplgstreamer.cpp: | 16 | * linden/indra/llmedia/llmediaimplgstreamer.cpp: |
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) |