summaryrefslogtreecommitdiff
path: root/indra/cmake/Variables.cmake
AgeCommit message (Collapse)Author
2019-09-25DRTVWR-476: Add Stack Overflow link for Brad's Xcode 11 signing fix.Nat Goodspeed
2019-09-25Disabled broken automatic code signing for local development when using Xcode 11Brad Kittenbrink
2018-08-27SL-957: Explicitly pass VIEWER_SYMBOL_FILE from build.sh into CMakeNat Goodspeed
instead of relying on both indra/newview/CMakeLists.txt and build.sh generating the same file pathname. Make build.sh set VIEWER_SYMBOL_FILE (instead of symbolfile) in pre_build, and pass it to autobuild configure via -D switch. Then the uploads stanza can just use VIEWER_SYMBOL_FILE instead of performing its platform-sensitive case statement right there. Introduce VIEWER_SYMBOL_FILE CMake cache variable, default empty string. Make indra/newview/CMakeLists.txt generate_breakpad_symbols logic conditional on VIEWER_SYMBOL_FILE being non-empty, as well as everything else. Eliminate local set(VIEWER_SYMBOL_FILE) directives.
2018-08-24DRTVWR-447: Introduce explicit CMake BUGSPLAT_DB variable.Nat Goodspeed
Define the CMake cache variable, with empty string as its default. Make build.sh pass the BUGSPLAT_DB environment variable as a CMake command-line variable assignment. Change CMake 'if (DEFINED ENV{BUGSPLAT_DB})' to plain 'if (BUGSPLAT_DB)'. Make CMake pass new --bugsplat switch to every one of SIX different invocations of viewer_manifest.py. Give llmanifest.main() function an argument to allow supplementing the base set of command-line switches with additional application-specific switches. In viewer_manifest.py, define new --bugsplat command-line switch and pass to llmanifest.main(). Instead of consulting os.environ['BUGSPLAT_DB'], consult self.args['bugsplat'].
2018-05-30remove unused UNATTENDED cmake variable that generates warningsOz Linden
2017-09-19DRTVWR-418: Another attempt to generate Mac debug symbols.Nat Goodspeed
The viewer's 00-COMPILE-LINK-RUN.txt recommends passing -gdwarf-2 to the Mac compiler, and so we've been doing ever since before the viewer-build-variables repo was engaged. Now we discover that when CMake sees -gdwarf-2, it removes the -g switch entirely. It also removes it when you pass plain -g. Only when you pass -gdwarf-with-dsym or just -gdwarf does CMake pass plain -g to the compiler. Change -gdwarf-2, if specified, to -gdwarf so we at least get -g.
2016-12-22DRTVWR-418: Emit less confusing error message when LL_BUILD not set.Nat Goodspeed
When LL_BUILD is not in the environment at autobuild configure time, important macros such as LL_WINDOWS aren't set. That means that platform-dependent macros such as LL_TYPEOF() aren't defined, which can produce obscure errors like this: indra\llcommon\llunittype.h(51): error C2226: syntax error : unexpected type 'S' (packages\llphysicsextensions\stub\LLPhysicsExtensionsStubImpl.cpp) 10> indra\llcommon\llunittype.h(52) : see reference to class template instantiation 'LLResultTypeAdd<S,T>' being compiled Make the CMake logic fail with a more readily-understood error in that case.
2016-12-14DRTVWR-418: Derive certain CMAKE_XCODE_etc. vars from LL_BUILD.Nat Goodspeed
2016-12-12DRTVWR-418: Align minimum OS X version with viewer-build-variables.Nat Goodspeed
2016-11-19DRTVWR-418: Change to libc++ on Mac, remove reminder warning.Nat Goodspeed
2016-11-17DRTVWR-418: Add warning about changing to libc++ on Mac.Nat Goodspeed
2016-11-16DRTVWR-418: Try to make the OSX architecture match computed ARCHNat Goodspeed
which in turn depends on ADDRESS_SIZE.
2016-11-16DRTVWR-418: Compute ADDRESS_SIZE from arch if not specified.Nat Goodspeed
Migrate the logic formerly used only for LINUX to detect whether ADDRESS_SIZE is set to 32 or 64, and if not, detect a default for the platform. But instead of using uname -m, use python's platform.machine(). On Windows, stop forcing ARCH to i686 and ADDRESS_SIZE to 32. On Mac, reset default to x86_64 instead of i386; stop forcing ADDRESS_SIZE to 32.
2016-11-15DRTVWR-418: Fold windows64 into windows platform with new autobuild.Nat Goodspeed
autobuild 1.1 now supports expanding $variables within a config file -- support that was explicitly added to address this very problem. So now the windows platform in autobuild.xml uses $AUTOBUILD_ADDRSIZE, $AUTOBUILD_WIN_VSPLATFORM and $AUTOBUILD_WIN_CMAKE_GEN, which should handle most of the deltas between the windows platform and windows64. This permits removing the windows64 platform definition from autobuild.xml. The one remaining delta between the windows64 and windows platform definitions was -DLL_64BIT_BUILD=TRUE. But we can handle that instead by checking ADDRESS_SIZE. Change all existing references to WORD_SIZE to ADDRESS_SIZE instead, and set ADDRESS_SIZE to $AUTOBUILD_ADDRSIZE. Change the one existing LL_64BIT_BUILD reference to test (ADDRESS_SIZE EQUAL 64) instead.
2016-01-15merge changes for 4.0.1-releaseOz Linden
2015-11-10remove execute permission from many files that should not have itOz Linden
2015-09-29Merge with viewer-xcode-7 for Xcode 7 patchescallum_linden
2015-09-18Update version of Xcode (7.0) and SDKs (10.11)callum_linden
2015-05-18Merge with Viewer Release (after Viewer Release updated with Viewer Tools ↵callum_linden
Update)
2015-03-24BUG-8786 - Turn off fast math opts enforcing IEEE 754 floating point complianceCinder
2015-03-24Refer to new QuickTime third party package with fixes for VS2013 & re-add ↵callum_linden
QuickTime media plugin
2014-12-15Add feature (enabled) to turn off media pluginscallum_linden
2014-10-20Update to build on Xcode 6.0: Remove concept of XCODE_VERSION from CMake ↵callum_linden
files - we standardize on Xcode 6
2014-10-17Update to build on Xcode 6.0: first pass at CMake changes to get a build startedcallum_linden
2014-03-19OPEN-199: replace the confusing STANDALONE switch with USESYSTEMLIBSOz Linden
2013-06-17The viewer now requires the 10.7 SDK or above to compile.Geenz
2013-05-13Merged with https://bitbucket.org/lindenlab/viewer-betaGeenz
2013-04-19merge up to latest viewer-development for merge to 3.5.2Oz Linden
2013-04-19merge changes for DRTVWR-294Oz Linden
2013-04-16merge up to 3.5.2 developmentOz Linden
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-02-22Merge new boost and add OS X 10.8 modsGraham Madarasz (Graham Linden)
2012-12-20Disabling build of headless appearance utilityDon Kjer
2013-02-12convert to new channel name scheme and remove login_channel build time parameterOz Linden
2013-02-07derive version number from indra/VIEWER_VERSION.txtOz Linden
2012-10-24Switching to system osmesa library instead of pre-packaged libraryDon Kjer
2012-10-17Fix for headless appearance utility not linking correctlyDon Kjer
2012-10-15Speeding up cmake configuration, especially on linux. Re-arranged ↵Don Kjer
llrender/llwindow cmake source a bit
2012-10-11Adding multi-arch hints to CMake, allowing it to correctly find libraries on ↵Don Kjer
multi-arch debian-based systems.
2012-10-04Limiting headless builds to linuxDon Kjer
2012-10-04Building headless and non-headless libraries side-by-side, removing the need ↵Don Kjer
for the BAKING cmake setting.
2012-10-04Removing server-related cmake cruft. Fixing libGLU warnings on linux.Don Kjer
2012-08-22Fix up white space to follow coding policy guidelinescallum_linden
2012-08-17Minor change required for merge from viewer-developmentAura Linden
2012-08-08More optional config for 10.5 buildsAura Linden
2012-07-25Fix to build with code signing option (patch from STORM-1900)callum_linden
2012-07-23Make build dependent on version of xcode, not version of OSX for DARWINAura Linden
2012-07-23Changed CMake to work for older and newer versions of OSXAura Linden
2012-07-18cmake changes for OSX 10.7Aura Linden
2011-06-01EXP-869 FIX -- Mac viewer should build without requiring settings modificationsLeslie Linden
Modified cmake GCC_VERSION from 4.2 to 4.0, our officially supported GCC version Reviewed by Richard