aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/cmake/00-Common.cmake23
-rw-r--r--linden/indra/cmake/GStreamer.cmake34
2 files changed, 24 insertions, 33 deletions
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake
index 27838d6..2d691ad 100644
--- a/linden/indra/cmake/00-Common.cmake
+++ b/linden/indra/cmake/00-Common.cmake
@@ -31,9 +31,15 @@ if (WINDOWS)
31 set(CMAKE_CXX_FLAGS_RELWITHDEBINFO 31 set(CMAKE_CXX_FLAGS_RELWITHDEBINFO
32 "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} /Od /Zi /MT" 32 "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} /Od /Zi /MT"
33 CACHE STRING "C++ compiler release-with-debug options" FORCE) 33 CACHE STRING "C++ compiler release-with-debug options" FORCE)
34 set(CMAKE_CXX_FLAGS_RELEASE 34 if (MSVC80)
35 set(CMAKE_CXX_FLAGS_RELEASE
36 "${CMAKE_CXX_FLAGS_RELEASE} /O2 /Ob2 /Oi /Ot /Oy /GT /Zi /MT"
37 CACHE STRING "C++ compiler release options" FORCE)
38 else (MSVC80)
39 set(CMAKE_CXX_FLAGS_RELEASE
35 "${CMAKE_CXX_FLAGS_RELEASE} ${LL_CXX_FLAGS} /O2 /Zi /MT" 40 "${CMAKE_CXX_FLAGS_RELEASE} ${LL_CXX_FLAGS} /O2 /Zi /MT"
36 CACHE STRING "C++ compiler release options" FORCE) 41 CACHE STRING "C++ compiler release options" FORCE)
42 endif (MSVC80)
37 43
38 add_definitions( 44 add_definitions(
39 /DLL_WINDOWS=1 45 /DLL_WINDOWS=1
@@ -57,21 +63,6 @@ if (WINDOWS)
57 /Zc:wchar_t- 63 /Zc:wchar_t-
58 ) 64 )
59 endif (MSVC80 OR MSVC90) 65 endif (MSVC80 OR MSVC90)
60
61 # VS optimization flags
62 if(MSVC80)
63
64 set(NUMBER_OF_CORES $ENV{NUMBER_OF_PROCESSORS})
65
66 set(CMAKE_CXX_FLAGS_RELEASE
67 "${CMAKE_CXX_FLAGS_RELEASE} /Ob2 /Oi /Ot /GT"
68 CACHE STRING "C++ compiler release options" FORCE)
69
70 add_definitions(
71 /MP${NUMBER_OF_CORES}
72 )
73
74 endif (MSVC80)
75 66
76 # Are we using the crummy Visual Studio KDU build workaround? 67 # Are we using the crummy Visual Studio KDU build workaround?
77 if (NOT VS_DISABLE_FATAL_WARNINGS) 68 if (NOT VS_DISABLE_FATAL_WARNINGS)
diff --git a/linden/indra/cmake/GStreamer.cmake b/linden/indra/cmake/GStreamer.cmake
index 29896d0..8bfad11 100644
--- a/linden/indra/cmake/GStreamer.cmake
+++ b/linden/indra/cmake/GStreamer.cmake
@@ -29,23 +29,23 @@ if (WINDOWS)
29 gmodule-2.0 29 gmodule-2.0
30 gobject-2.0 30 gobject-2.0
31 gthread-2.0 31 gthread-2.0
32 libgstvideo-0.10 32 libgstvideo.lib
33 libgsttag-0.10 33 libgsttag.lib
34 libgstsdp-0.10 34 libgstsdp.lib
35 libgstrtsp-0.10 35 libgstrtsp.lib
36 libgstrtp-0.10 36 libgstrtp.lib
37 libgstriff-0.10 37 libgstriff.lib
38 libgstreamer-0.10 38 libgstreamer-0.10.lib
39 libgstpbutils-0.10 39 libgstpbutils.lib
40 libgstnetbuffer-0.10 40 libgstnetbuffer.lib
41 libgstnet-0.10 41 libgstnet-0.10.lib
42 libgstinterfaces-0.10 42 libgstinterfaces.lib
43 libgstdshow-0.10 43 libgstdshow.lib
44 libgstdataprotocol-0.10 44 libgstdataprotocol-0.10.lib
45 libgstcontroller-0.10 45 libgstcontroller-0.10.lib
46 libgstbase-0.10 46 libgstbase-0.10.lib
47 libgstaudio-0.10 47 libgstaudio.lib
48 libgstapp-0.10 48 libgstapp.lib
49 libxml2 49 libxml2
50 libxml2_a 50 libxml2_a
51 libxml2_a_dll 51 libxml2_a_dll