aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/cmake')
-rw-r--r--linden/indra/cmake/Boost.cmake14
-rw-r--r--linden/indra/cmake/CopyWinLibs.cmake10
-rw-r--r--linden/indra/cmake/Variables.cmake2
-rw-r--r--linden/indra/cmake/ViewerArtwork.cmake14
4 files changed, 21 insertions, 19 deletions
diff --git a/linden/indra/cmake/Boost.cmake b/linden/indra/cmake/Boost.cmake
index 50b8eff..a84a09f 100644
--- a/linden/indra/cmake/Boost.cmake
+++ b/linden/indra/cmake/Boost.cmake
@@ -16,17 +16,7 @@ else (STANDALONE)
16 16
17 if (WINDOWS) 17 if (WINDOWS)
18 set(BOOST_VERSION 1_36) 18 set(BOOST_VERSION 1_36)
19 if (MSVC71) 19 if (MSVC80)
20 set(BOOST_PROGRAM_OPTIONS_LIBRARY
21 optimized libboost_program_options-vc71-mt-${BOOST_VERSION}
22 debug libboost_program_options-vc71-mt-gd-${BOOST_VERSION})
23 set(BOOST_REGEX_LIBRARY
24 optimized libboost_regex-vc71-mt-${BOOST_VERSION}
25 debug libboost_regex-vc71-mt-gd-${BOOST_VERSION})
26 set(BOOST_SIGNALS_LIBRARY
27 optimized libboost_signals-vc71-mt-${BOOST_VERSION}
28 debug libboost_signals-vc71-mt-gd-${BOOST_VERSION})
29 elseif (MSVC80)
30 set(BOOST_PROGRAM_OPTIONS_LIBRARY 20 set(BOOST_PROGRAM_OPTIONS_LIBRARY
31 optimized libboost_program_options-vc80-mt-${BOOST_VERSION} 21 optimized libboost_program_options-vc80-mt-${BOOST_VERSION}
32 debug libboost_program_options-vc80-mt-gd-${BOOST_VERSION}) 22 debug libboost_program_options-vc80-mt-gd-${BOOST_VERSION})
@@ -46,7 +36,7 @@ else (STANDALONE)
46 set(BOOST_SIGNALS_LIBRARY 36 set(BOOST_SIGNALS_LIBRARY
47 optimized libboost_signals-vc90-mt-${BOOST_VERSION} 37 optimized libboost_signals-vc90-mt-${BOOST_VERSION}
48 debug libboost_signals-vc90-mt-gd-${BOOST_VERSION}) 38 debug libboost_signals-vc90-mt-gd-${BOOST_VERSION})
49 endif (MSVC71) 39 endif (MSVC80)
50 elseif (DARWIN) 40 elseif (DARWIN)
51 set(BOOST_PROGRAM_OPTIONS_LIBRARY boost_program_options-mt) 41 set(BOOST_PROGRAM_OPTIONS_LIBRARY boost_program_options-mt)
52 set(BOOST_REGEX_LIBRARY boost_regex-mt) 42 set(BOOST_REGEX_LIBRARY boost_regex-mt)
diff --git a/linden/indra/cmake/CopyWinLibs.cmake b/linden/indra/cmake/CopyWinLibs.cmake
index 52f000f..add94dd 100644
--- a/linden/indra/cmake/CopyWinLibs.cmake
+++ b/linden/indra/cmake/CopyWinLibs.cmake
@@ -1,7 +1,7 @@
1# -*- cmake -*- 1# -*- cmake -*-
2 2
3# The copy_win_libs folder contains file lists and a script used to 3# The copy_win_libs folder contains file lists and a script used to
4# copy dlls, exes and such needed to run the SecondLife from within 4# copy dlls, exes and such needed to run Imprudence from within
5# VisualStudio. 5# VisualStudio.
6 6
7include(CMakeCopyIfDifferent) 7include(CMakeCopyIfDifferent)
@@ -62,7 +62,6 @@ set(debug_files
62 libogg-0.dll 62 libogg-0.dll
63 liboil-0.3-0.dll 63 liboil-0.3-0.dll
64 libopenjpeg-2.dll 64 libopenjpeg-2.dll
65 libpng12-0.dll
66 libschroedinger-1.0-0.dll 65 libschroedinger-1.0-0.dll
67 libspeex-1.dll 66 libspeex-1.dll
68 libtheora-0.dll 67 libtheora-0.dll
@@ -137,7 +136,6 @@ set(release_files
137 libogg-0.dll 136 libogg-0.dll
138 liboil-0.3-0.dll 137 liboil-0.3-0.dll
139 libopenjpeg-2.dll 138 libopenjpeg-2.dll
140 libpng12-0.dll
141 libschroedinger-1.0-0.dll 139 libschroedinger-1.0-0.dll
142 libspeex-1.dll 140 libspeex-1.dll
143 libtheora-0.dll 141 libtheora-0.dll
@@ -198,7 +196,7 @@ if (MSVC80)
198 ARGS 196 ARGS
199 ${CMAKE_CURRENT_SOURCE_DIR}/build_win32_appConfig.py 197 ${CMAKE_CURRENT_SOURCE_DIR}/build_win32_appConfig.py
200 ${CMAKE_CURRENT_BINARY_DIR}/Debug/Microsoft.VC80.DebugCRT.manifest 198 ${CMAKE_CURRENT_BINARY_DIR}/Debug/Microsoft.VC80.DebugCRT.manifest
201 ${CMAKE_CURRENT_SOURCE_DIR}/SecondLifeDebug.exe.config 199 ${CMAKE_CURRENT_SOURCE_DIR}/ImprudenceDebug.exe.config
202 ${debug_appconfig_file} 200 ${debug_appconfig_file}
203 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Debug/Microsoft.VC80.DebugCRT.manifest 201 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Debug/Microsoft.VC80.DebugCRT.manifest
204 COMMENT "Creating debug app config file" 202 COMMENT "Creating debug app config file"
@@ -243,7 +241,7 @@ if (MSVC80)
243 ARGS 241 ARGS
244 ${CMAKE_CURRENT_SOURCE_DIR}/build_win32_appConfig.py 242 ${CMAKE_CURRENT_SOURCE_DIR}/build_win32_appConfig.py
245 ${CMAKE_CURRENT_BINARY_DIR}/Release/Microsoft.VC80.CRT.manifest 243 ${CMAKE_CURRENT_BINARY_DIR}/Release/Microsoft.VC80.CRT.manifest
246 ${CMAKE_CURRENT_SOURCE_DIR}/SecondLife.exe.config 244 ${CMAKE_CURRENT_SOURCE_DIR}/Imprudence.exe.config
247 ${release_appconfig_file} 245 ${release_appconfig_file}
248 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Release/Microsoft.VC80.CRT.manifest 246 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Release/Microsoft.VC80.CRT.manifest
249 COMMENT "Creating release app config file" 247 COMMENT "Creating release app config file"
@@ -256,7 +254,7 @@ if (MSVC80)
256 ARGS 254 ARGS
257 ${CMAKE_CURRENT_SOURCE_DIR}/build_win32_appConfig.py 255 ${CMAKE_CURRENT_SOURCE_DIR}/build_win32_appConfig.py
258 ${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo/Microsoft.VC80.CRT.manifest 256 ${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo/Microsoft.VC80.CRT.manifest
259 ${CMAKE_CURRENT_SOURCE_DIR}/SecondLife.exe.config 257 ${CMAKE_CURRENT_SOURCE_DIR}/Imprudence.exe.config
260 ${relwithdebinfo_appconfig_file} 258 ${relwithdebinfo_appconfig_file}
261 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo/Microsoft.VC80.CRT.manifest 259 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/RelWithDebInfo/Microsoft.VC80.CRT.manifest
262 COMMENT "Creating relwithdebinfo app config file" 260 COMMENT "Creating relwithdebinfo app config file"
diff --git a/linden/indra/cmake/Variables.cmake b/linden/indra/cmake/Variables.cmake
index 8f33a95..5d4dffe 100644
--- a/linden/indra/cmake/Variables.cmake
+++ b/linden/indra/cmake/Variables.cmake
@@ -82,7 +82,7 @@ set(VIEWER ON CACHE BOOL "Build Second Life viewer.")
82set(VIEWER_CHANNEL "Imprudence" CACHE STRING "Viewer Channel Name") 82set(VIEWER_CHANNEL "Imprudence" CACHE STRING "Viewer Channel Name")
83set(VIEWER_LOGIN_CHANNEL ${VIEWER_CHANNEL} CACHE STRING "Fake login channel for A/B Testing") 83set(VIEWER_LOGIN_CHANNEL ${VIEWER_CHANNEL} CACHE STRING "Fake login channel for A/B Testing")
84 84
85set(STANDALONE OFF CACHE BOOL "Do not use Linden-supplied prebuilt libraries.") 85set(STANDALONE OFF CACHE BOOL "Do not use Imprudence-supplied prebuilt libraries.")
86 86
87if (NOT STANDALONE AND EXISTS ${CMAKE_SOURCE_DIR}/llphysics) 87if (NOT STANDALONE AND EXISTS ${CMAKE_SOURCE_DIR}/llphysics)
88 set(SERVER ON CACHE BOOL "Build Second Life server software.") 88 set(SERVER ON CACHE BOOL "Build Second Life server software.")
diff --git a/linden/indra/cmake/ViewerArtwork.cmake b/linden/indra/cmake/ViewerArtwork.cmake
new file mode 100644
index 0000000..f01109a
--- /dev/null
+++ b/linden/indra/cmake/ViewerArtwork.cmake
@@ -0,0 +1,14 @@
1# -*- cmake -*-
2#
3# Download viewer artwork even when using standalone
4
5include(Variables)
6include(Prebuilt)
7
8if (NOT STANDALONE)
9 use_prebuilt_binary(artwork)
10else (NOT STANDALONE)
11 set(STANDALONE OFF)
12 use_prebuilt_binary(artwork)
13 set(STANDALONE ON)
14endif (NOT STANDALONE)