aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-03-15Fixed missing use_prebuilt_binary(gstreamer-plugins) from ↵McCabe Maxsted1-3/+4
GStreamer010Plugin.cmake and fixed some out-of-date lib requirements for Windows
2011-03-14Fixed typo in 425b474McCabe Maxsted1-1/+1
2011-03-14Added info message when cmake can't find the quicktime sdkMcCabe Maxsted1-0/+2
2011-03-14Added cmake files to the solution. This should've been done AGES agoMcCabe Maxsted2-0/+149
2011-03-09Updated copywinlibs and staging to use the new set of gstreamer libsMcCabe Maxsted1-0/+122
2011-03-09Fixed being unable to change streaming audio volume on WindowsMcCabe Maxsted1-1/+2
2011-02-27Switched to Phoenix Viewers Boost 1.43 libs for WindowsPatrick Sapinski1-3/+1
2011-02-22gio-2.0 is not used on Mac.Jacek Antonelli1-1/+0
2011-02-18Fixed cmake using the old windows gstreamer plugin libsMcCabe Maxsted1-4/+4
2011-02-10Make media_plugin_gstreamer010 find all its headers correctly on Windows ↵McCabe Maxsted1-5/+13
(notes: need to add archives for iconv and gstreamer to install.xml, doesn't link yet)
2011-02-10Updated windows version of boost to the 1.39 version used in Snowglobe 1.5. ↵McCabe Maxsted1-1/+3
Note: only VS2005 libs currently included
2011-01-17IMP-429: Link against prebuilt libraries / always use gtk-related system ↵Aleric Inglewood2-0/+4
libs (linux) (cherry picked from commit a3cffd06a0e7aa92e1b6c28e7bad655b7085296c)
2010-11-13Disable SSE4 on Mac (temporarily).Jacek Antonelli1-2/+2
GCC 4.0 on Mac OS X 10.5 can't handle SSE4, GCC 4.2 fails.
2010-11-12Fixed fontconfig library not being set for Linux-onlyMcCabe Maxsted1-3/+5
2010-11-12Add support for using ld.gold on linux.Aleric Inglewood2-3/+14
To use ld.gold configure with: -DCMAKE_EXE_LINKER_FLAGS:STRING="-Wl,-use-gold". ld.gold links the viewer on my machine in 8 seconds, as opposed to 19 seconds with ld.bfd. Moreover, it uses a LOT less memory during linking (about 750 MB instead of 2.5 GB!). Thanks to Siana Gearz for pointing out that ld.gold is so much faster.
2010-11-07IMP-692: SNOW-713: Global objects in libllcommon duplicated in pluginsAleric Inglewood4-23/+18
See http://jira.secondlife.com/browse/SNOW-713 This patch makes llcommon shared. It contains the following snowglobe (SVN) changesets: 3478, 3479, 3480, 3481, 3482, 3485, 3496, 3498, 3500, 3519 and 3531, plus the fix for all rejects. Note that changes to scripts/automated_build_scripts/opensrc-build.sh (changesets 3500 and 3625) were ignored as we don't have scripts/automated_build_scripts.
2010-11-02Deleted OPENAL.cmake.imp fileMcCabe Maxsted1-115/+0
2010-11-02Added missing qtxmlpatterns4.dll to CopyWinLibs.cmakeMcCabe Maxsted1-0/+4
2010-10-27Load prebuilt glib when needed. Don't compile gstreamer plugin on windows.Aleric Inglewood3-7/+11
Also, darwin doesn't use quicktime, so disabled compiling that plugin for darwin.
2010-10-26Set LL_GSTREAMER010_ENABLED to true for Linux-only until gstreamer loading ↵McCabe Maxsted1-0/+2
can be sorted on windows
2010-10-25Download prebuilt vivox (and 32bitcompatibilitylibs on 64bit) even when ↵Aleric Inglewood1-0/+8
using standalone.
2010-10-23Fixed copy_win_libs by removing glib dllsMcCabe Maxsted1-8/+0
2010-10-18Forgot QtWebKit and Qt plugins in last commit.Aleric Inglewood1-2/+14
Standalone now works (I have no idea why it worked before, since obviously I tested it before committing the previous commit).
2010-10-18Changed default compile settings for Mac. Now SSE3 and SSE4 are enabled by ↵elektrahesse2-13/+7
default, gcc-4.2 is used and 10.5 SDK is auto selected. Build from commandline in Release mode now work perfectly (./develop.py -t Release build) without the need for Xcode at all.
2010-10-17Find Qt4 with find_package on STANDALONE.Aleric Inglewood1-1/+11
If Qt is found in a non-standard place, you still have to set LD_LIBRARY_PATH yourself (to $QTDIR/lib) before running imprudence of course (or the webkit plugin will silently fail).
2010-10-16Added detection for Python 2.7 (currently untested)McCabe Maxsted1-0/+2
2010-10-15RED-595: Manual merge with weekly-webkit.Aleric Inglewood2-18/+82
Plus some white space fixes (TABs --> spaces) in install.xml.
2010-10-10Let the gstreamer plugin build on windowsRobin Cornelius1-5/+24
2010-10-09Removed not needed libgio-2.0 dependency on OSXelektrahesse1-1/+0
2010-10-09Use all those cores for compileRobin Cornelius1-0/+1
2010-10-09Use all those cores for compileRobin Cornelius1-0/+1
2010-10-08Fixed (again) how libjpeg is found on Mac. (#256/#464)Jacek Antonelli1-1/+1
Related information from Nemurimasu Neiro: stay away from find_library! due to an undocumented feature of find_xxx functions in CMake, no additional libraries may be found after the first call to a find_xxx function that searches the prebuilt libraries folder. CMake will request the folder contents *at most once* and libraries added by install.py will be missed.
2010-10-08RED-429: Link against prebuilt libraries / always use gtk-related system ↵Aleric Inglewood2-0/+4
libs (linux) This patch fixes the problem that there were no 'developer' symlinks for the prebuilt packages (which is not needed for runtim), causing the casual user that tries to compile the viewer on linux (without using --standalone) to link against their system libs (while using the header files of the prebuilt versions), often causing linker errors. It also fixes the fact that a few libraries were completely missing, most notably the dbusglib package only had header files and not a library at all! libgio and libpangocairo where missing from the link command line so that the wrong libraries were picked up, if any at all. Finally, the last GTK related prebuilt libraries have simply been removed from the packaging: linux has those installed (or else the users will know how to install them as soon as they see that the viewer complains about a missing library). This is much more stable, as all those libraries more or less form a whole. Or rather, the libraries that use glib, as especially that one gives a problem at the moment since the latest glib has new g_malloc_n functions that don't exist in the prebuilt glib. Note the difference between a USER compiling her own viewer, and the imprudence team compiling a release: When the imprudence team compiles a release we need to create a portable binary that runs on many versions of linux. In order to achieve that we link against "old" library versions, so that the viewer still works on old operating systems, and (hopefull) also on newer systems, since libraries with the same SONAME are backwards compatible. With g_malloc_n as example: our viewer binary doesn't use that function, so a user that links with their own glib will never have a problem, whether or not his library provides this function. On the other hand, when a user gets the sources and compiles his own viewer he wants to use the LATEST library versions: his own operating system ones. The best way to achieve this is to configure with --standalone, but that currently demands that ALL libraries are installed on her system, including a few very-hard-to-get libraries. If she therefore chooses to configure without --standalone, she suddenly gets all the old library versions, forcing her to at least link against those at compile time (in order to minimize the risk of version incompatibilities). A better solution for the do-it-yourself user would be to have a --semi-standalone configuration that only uses the hard-to-get prebuilt libs and further uses as much the operating system libraries as possible. For most of the hard-to-get libraries this is no problem since they all only depend on libc and similar stable ABI libs.
2010-10-03Fixed (again) how libjpeg is found on Mac. (#256/#464)Jacek Antonelli1-8/+1
Related information from Nemurimasu Neiro: stay away from find_library! due to an undocumented feature of find_xxx functions in CMake, no additional libraries may be found after the first call to a find_xxx function that searches the prebuilt libraries folder. CMake will request the folder contents *at most once* and libraries added by install.py will be missed.
2010-10-03RED-560: Add support for STANDALONE to OPENAL.cmakeAleric Inglewood1-2/+12
Use pkg_check_modules to find freealut (and openal) for STANDALONE. Non-standalone is untouched by this version. The changes relative to snowglobe (for the STANDALONE path) is that I removed the 'include(FindOpenAL) (that comes with cmake) which not only doesn't find libalut, but even sets the wrong cmake variables (it sets OPENAL_LIBRARY, and our cmake scripts *use* OPENAL_LIBRARIES). Moreover, under the assumption that STANDALONE really is only for linux (and I think that is so), every linux distribution DOES have freealut (and openal) installed with a pkg-config anyway. I also removed pkg_check_modules(openal) because it is redundant: freealut pulls that in already.
2010-10-02RED-560: Add support for STANDALONE to OPENAL.cmakeAleric Inglewood1-2/+12
Use pkg_check_modules to find freealut (and openal) for STANDALONE. Non-standalone is untouched by this version. The changes relative to snowglobe (for the STANDALONE path) is that I removed the 'include(FindOpenAL) (that comes with cmake) which not only doesn't find libalut, but even sets the wrong cmake variables (it sets OPENAL_LIBRARY, and our cmake scripts *use* OPENAL_LIBRARIES). Moreover, under the assumption that STANDALONE really is only for linux (and I think that is so), every linux distribution DOES have freealut (and openal) installed with a pkg-config anyway. I also removed pkg_check_modules(openal) because it is redundant: freealut pulls that in already.
2010-10-02RED-560: Revert changes to indra/cmake/OPENAL.cmakeAleric Inglewood1-19/+104
Revert the changes introduced in http://github.com/AlericInglewood/imprudence/commit/e71d3ea2fad63fa2ec81685a9b09c1bed6b493be
2010-10-02RED-579: SNOW-751: 'configure' with cmake 2.8 is extremely slow.Aleric Inglewood1-0/+46
Note that indra/cmake/CMakeLists.txt is missing on imprudence, so I couldn't add 'FindZLIB.cmake' to the list of source files (see http://svn.secondlife.com/trac/linden/browser/projects/2009/snowglobe/trunk/indra/cmake/CMakeLists.txt) I added a comment to http://github.com/mccabe/imprudence/commit/39f625963e408ec5dd394e202506700259b9b508 that adds an empty indra/cmake/CMakeLists.txt If Jacek follows up and copies snowglobe's CMakeLists.txt then she'll have to remove the FindZLIB.cmake from it if she tests it before merging with THIS commit. In that case it has to be added back when merging that commit with this one. Tested on imprudence with cmake 2.8.2: * Without patch, 'configure' takes 100 seconds. * With patch, 'configure' takes 4 seconds.
2010-10-01RED-573: FindTut.cmake is missing: tut.h is not searched for.Aleric Inglewood2-2/+46
This patch only affects --standalone. It was basically ported from Snowglobe with the following change: If LL_TESTS is not set, then tut.h is not required (this is an improvement, because if LL_TESTS is not set no tests should be created or run). I tested it with -DLL_TESTS:BOOL=ON, -DLL_TESTS:BOOL=OFF and no -DLL_TESTS* at all, with and without tut installed, internally and externally. Things worked as expected. Most notably, with tut.h installed in libraries/include/, it is NOT found. This is necessary because using -Ilibraries/include for standalone is a no no: prebuilt stuff might be downloaded, but we don't want to use it! That directory contains potentially many other libraries.
2010-10-01RED-561: Optimization flags used during --Type=Debug (linux x86_64)Aleric Inglewood1-17/+4
See http://redmine.imprudenceviewer.org/issues/561 Fixed erroneous use of optimization flags when not compiling Release. Also removed -DLL_VECTORIZE from compile options: that is set in a header file (llv4math.h), not on the commandline. Patch affects only 64 bit linux.
2010-10-01RED-552: VWR-12838: NDOF is assumed to exist, even with --standalone.Aleric Inglewood2-9/+62
See http://redmine.imprudenceviewer.org/issues/552 Add FindNDOF.cmake and treat it like every other library (on standalone).
2010-09-30RED-579: SNOW-751: 'configure' with cmake 2.8 is extremely slow.Aleric Inglewood1-0/+46
Note that indra/cmake/CMakeLists.txt is missing on imprudence, so I couldn't add 'FindZLIB.cmake' to the list of source files (see http://svn.secondlife.com/trac/linden/browser/projects/2009/snowglobe/trunk/indra/cmake/CMakeLists.txt) I added a comment to http://github.com/mccabe/imprudence/commit/39f625963e408ec5dd394e202506700259b9b508 that adds an empty indra/cmake/CMakeLists.txt If Jacek follows up and copies snowglobe's CMakeLists.txt then she'll have to remove the FindZLIB.cmake from it if she tests it before merging with THIS commit. In that case it has to be added back when merging that commit with this one. Tested on imprudence with cmake 2.8.2: * Without patch, 'configure' takes 100 seconds. * With patch, 'configure' takes 4 seconds.
2010-09-30RED-573: FindTut.cmake is missing: tut.h is not searched for.Aleric Inglewood2-2/+46
This patch only affects --standalone. It was basically ported from Snowglobe with the following change: If LL_TESTS is not set, then tut.h is not required (this is an improvement, because if LL_TESTS is not set no tests should be created or run). I tested it with -DLL_TESTS:BOOL=ON, -DLL_TESTS:BOOL=OFF and no -DLL_TESTS* at all, with and without tut installed, internally and externally. Things worked as expected. Most notably, with tut.h installed in libraries/include/, it is NOT found. This is necessary because using -Ilibraries/include for standalone is a no no: prebuilt stuff might be downloaded, but we don't want to use it! That directory contains potentially many other libraries.
2010-09-28RED-561: Optimization flags used during --Type=Debug (linux x86_64)Aleric Inglewood1-17/+4
See http://redmine.imprudenceviewer.org/issues/561 Fixed erroneous use of optimization flags when not compiling Release. Also removed -DLL_VECTORIZE from compile options: that is set in a header file (llv4math.h), not on the commandline. Patch affects only 64 bit linux.
2010-09-28RED-560: Imprudence doesn't compile when configured with --standaloneAleric Inglewood3-107/+35
See http://redmine.imprudenceviewer.org/issues/560
2010-09-28RED-552: VWR-12838: NDOF is assumed to exist, even with --standalone.Aleric Inglewood2-9/+62
See http://redmine.imprudenceviewer.org/issues/552 Add FindNDOF.cmake and treat it like every other library (on standalone).
2010-09-23Added empty indra/cmake/CMakeLists.txt to suppress a CMake 2.8 warning.Jacek Antonelli1-0/+0
"CMake Warning (dev) at CMakeLists.txt:36 (add_subdirectory): The source directory /home/jacek/imprudence/linden/indra/cmake does not contain a CMakeLists.txt file. CMake does not support this case but it used to work accidentally and is being allowed for compatibility. Policy CMP0014 is not set: Input directories must have CMakeLists.txt. Run "cmake --help-policy CMP0014" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it."
2010-09-23linux* kill imprudence gstreamer, use system gstreamer instead.Armin Weatherwax2-122/+12
who ever builds a release with that needs to consider to install some really old gstreamer at /usr/local/lib - lenny has 0.10.19
2010-09-23update to viewer-external SLPlugin + webkit. Fixes (lots of) webpages not ↵Armin Weatherwax1-0/+28
loading. Issue: llqtwebkit needs update for Linux 64bit
2010-09-23Robin Cornelius: fixes for building plugins on Linux 64bitArmin Weatherwax2-1/+20