diff options
-rw-r--r-- | ChangeLog.txt | 8 | ||||
-rw-r--r-- | linden/indra/cmake/00-Common.cmake | 10 | ||||
-rw-r--r-- | linden/indra/cmake/ViewerArtwork.cmake | 14 | ||||
-rw-r--r-- | linden/indra/llaudio/CMakeLists.txt | 1 | ||||
-rw-r--r-- | linden/indra/newview/CMakeLists.txt | 1 |
5 files changed, 24 insertions, 10 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt index 7a9fefa..3003c69 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt | |||
@@ -1,5 +1,13 @@ | |||
1 | 2009-12-01 McCabe Maxsted <hakushakukun@gmail.com> | 1 | 2009-12-01 McCabe Maxsted <hakushakukun@gmail.com> |
2 | 2 | ||
3 | * Moved the viewer artwork to its own CMake file. | ||
4 | |||
5 | new file: linden/indra/cmake/ViewerArtwork.cmake | ||
6 | modified: linden/indra/cmake/00-Common.cmake | ||
7 | modified: linden/indra/llaudio/CMakeLists.txt | ||
8 | modified: linden/indra/newview/CMakeLists.txt | ||
9 | |||
10 | |||
3 | * Removed libpng12-0.dll from CopyWinLibs.cmake. | 11 | * Removed libpng12-0.dll from CopyWinLibs.cmake. |
4 | 12 | ||
5 | modified: linden/indra/cmake/CopyWinLibs.cmake | 13 | modified: linden/indra/cmake/CopyWinLibs.cmake |
diff --git a/linden/indra/cmake/00-Common.cmake b/linden/indra/cmake/00-Common.cmake index 746a3bf..49fdb5b 100644 --- a/linden/indra/cmake/00-Common.cmake +++ b/linden/indra/cmake/00-Common.cmake | |||
@@ -3,17 +3,7 @@ | |||
3 | # Compilation options shared by all Second Life components. | 3 | # Compilation options shared by all Second Life components. |
4 | 4 | ||
5 | include(Variables) | 5 | include(Variables) |
6 | include(Prebuilt) | ||
7 | 6 | ||
8 | # Download viewer artwork even when using standalone | ||
9 | |||
10 | if (STANDALONE) | ||
11 | set(STANDALONE OFF) | ||
12 | use_prebuilt_binary(artwork) | ||
13 | set(STANDALONE ON) | ||
14 | else (STANDALONE) | ||
15 | use_prebuilt_binary(artwork) | ||
16 | endif (STANDALONE) | ||
17 | 7 | ||
18 | # Portable compilation flags. | 8 | # Portable compilation flags. |
19 | 9 | ||
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 | |||
5 | include(Variables) | ||
6 | include(Prebuilt) | ||
7 | |||
8 | if (NOT STANDALONE) | ||
9 | use_prebuilt_binary(artwork) | ||
10 | else (NOT STANDALONE) | ||
11 | set(STANDALONE OFF) | ||
12 | use_prebuilt_binary(artwork) | ||
13 | set(STANDALONE ON) | ||
14 | endif (NOT STANDALONE) | ||
diff --git a/linden/indra/llaudio/CMakeLists.txt b/linden/indra/llaudio/CMakeLists.txt index 70041e7..0a668f9 100644 --- a/linden/indra/llaudio/CMakeLists.txt +++ b/linden/indra/llaudio/CMakeLists.txt | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | project(llaudio) | 3 | project(llaudio) |
4 | 4 | ||
5 | # Current starting point for CMake. Seems rather arbitrary - MC | ||
5 | include(00-Common) | 6 | include(00-Common) |
6 | include(Audio) | 7 | include(Audio) |
7 | include(OPENAL) | 8 | include(OPENAL) |
diff --git a/linden/indra/newview/CMakeLists.txt b/linden/indra/newview/CMakeLists.txt index 26c9b21..cafe004 100644 --- a/linden/indra/newview/CMakeLists.txt +++ b/linden/indra/newview/CMakeLists.txt | |||
@@ -35,6 +35,7 @@ include(GooglePerfTools) | |||
35 | include(TemplateCheck) | 35 | include(TemplateCheck) |
36 | include(UI) | 36 | include(UI) |
37 | include(UnixInstall) | 37 | include(UnixInstall) |
38 | include(ViewerArtwork) | ||
38 | include(ViewerMiscLibs) | 39 | include(ViewerMiscLibs) |
39 | 40 | ||
40 | if (WINDOWS) | 41 | if (WINDOWS) |