80 Commits
Author SHA1 Message Date
Ansariel a9936a37f6 Merge branch 'universal' of https://github.com/secondlife/build-variables into universal
# Conflicts:
#	variables
2025-09-05 14:57:16 +02:00
Ansariel b6ffddd72b Merge branch 'master' of https://github.com/FirestormViewer/fs-build-variables 2025-08-16 13:37:13 +02:00
Ansariel af95d8ee4c Add missing $ to actual variable names 2025-08-16 13:36:57 +02:00
Beq 7a73f599ca Move back to failing on warnings. Leave the placeholder var for future
We can remove the empty var if we want but it leaves it structuially the same as Linux and a nice easy place should we need to add in the future.
2025-08-11 14:48:23 +01:00
Beq 2ab52af714 Try to gather the full set of warnings rather than just suppress them 2025-08-11 09:31:59 +01:00
Beq aa2745b099 Reapply "suppress warning in XCode16" temporarily
This reverts commit b9bd93ed2c.
2025-08-10 18:24:43 +01:00
Ansariel b9bd93ed2c Revert "suppress warning in XCode16"
This reverts commit cfe58c3e68.
2025-08-10 14:58:00 +02:00
Beq cfe58c3e68 suppress warning in XCode16
clang-tidy shows 1000s of instances...
2025-08-10 12:13:57 +01:00
Beq 0a5151957e Add new linux variable for flags needed cos of toolchain stupidity
first candidate: non-null warnings due to memcmp annotation
2025-08-09 19:03:03 +01:00
Ansariel 9a76df40eb Merge branch 'master' of https://github.com/secondlife/build-variables
# Conflicts:
#	variables
2025-08-09 18:56:05 +02:00
Rye 17fb9cf219 Update windows flags to zc:wchar_t for full c++ standards compliance on
modern msvc

This is a compatability flag dating back to VS2005 to work with
libraries compiled in pre-VS2005 compiler versions.
2025-02-03 23:37:57 -05:00
Rye 5d564e6aa6 Switch c++ standard to 20 on all platforms to match viewer config and cleanup up build flags for mac/linux 2024-11-19 01:11:01 -05:00
Rye e4d0629505 Add missing LL_ macros to linux build and raise Release optimization to O3 to match darwin 2024-11-11 20:04:10 -08:00
Rye Mutt 68d98e6392 Fix convenience script os check for windows msys and introduce explicit LL_BUILD_DARWIN_DEPLOY_TARGET variable (#6)
* Fix conveinvence script platform check for msys shell on windows

* Introduce LL_BUILD_DARWIN_DEPLOY_TARGET for use in build tools that accept an explicit osx platform target
2024-08-06 21:01:24 -07:00
Beq 38e0e2c27d Updated compiler warning flag for macOS to stop missing override nags 2024-07-19 14:53:56 +01:00
Beq 91d6673c3b suppress set but unused variable errors on Mac 2024-06-14 21:33:36 +01:00
Nicky Dasmijn c4532c3206 Update variables
Linux:
Don't force the defines CARES_STATICLIB and LIB_NDOF into any buildchain

CARES_STATICLIB is from all I know dead.
LIB_NDOF is a viewer specific defines and gets set in cmake/NDOF.cmake only if it is safe to set it.

Both of this is probably also true for OSX, but I cannot verify this. That's why I moved them from the POSIX block and added them to the DARWIN one
2024-04-06 07:56:16 +02:00
Beq c57be16efb Remove this suppression to prove we've fixed all the overrides. 2024-03-02 20:21:05 +00:00
Nat Goodspeed 4722dc08f0 Bump -mmacosx-version-min=11 from 10.13. 2024-02-27 12:40:44 -05:00
Ansariel 808a9371d7 Merge branch 'viewer' of https://github.com/secondlife/build-variables
# Conflicts:
#	variables
2023-07-12 19:04:16 +02:00
Nat Goodspeed ba0dc72228 SL-18837: Bump min supported macOS version from 10.9 to 10.13.
This is because newer Xcode refuses to build for any target older than 10.13.
2023-05-12 13:38:06 -04:00
Nat Goodspeed 08bc95c162 SL-18837: adding DARWIN -fvisibility=hidden causes link errors. 2023-04-18 21:47:02 -04:00
Nat Goodspeed 69e9b9feb9 Explicitly specify language standard C++17 for all platforms. 2023-04-11 17:26:04 -04:00
Beq 4a78e0444b Disable the over-zealous override errors on Mac 2023-01-19 12:30:11 +00:00
Beq e31db8d2ee Increase macos xcode version to 10.15 2023-01-18 21:52:57 +00:00
Nicky 4f31bdee98 - Remove LL_BUILD_LINUX_DEBUG* as those are not supported anyway
- Remove clang warning settings, clang is not supported
- Remove _GLIBCXX_USE_CXX11_ABI=1, we should not need this anymorre
- Remove -O2 from LL_BUILD_LINUX_RELEASE_SWITCHES, cmake will take care of this
- Reove the GCC warning settings, those all had been viewer specfiic and are handled in the viewer source tree now.
2022-08-12 18:47:42 +02:00
Nicky f98dceba83 - Bump WINVER from 0x600 (Vista) to 0x601 (minimum of Windows 7)
- Remove /DCARES_STATICLIB as from all I know is this some leftover from long ago, when C-ARES was still used as a resolved for cURL.
2022-06-08 01:43:20 +02:00
Nicky b98a805f18 Dsiable warning about uknown pragmas. 2022-02-14 15:29:48 +00:00
Dave Houlton cce207a8f1 SL-16040 change viewer Windows SDK version to Win8 2021-10-01 11:23:40 -06:00
Nicky 98a3d810f9 - GCC abi version is now handled via cmake so clang can be used.
- Disable some warnigs for newer clang versions.
2021-02-25 21:31:16 +01:00
Tonya Souther 81259d16a4 macOS build fixes for KDU. 2021-02-02 07:39:17 -06:00
Nicky 42d48cbd78 Linux/FIRE-29910; Let's see if this makes newer GCC version respect GCC 5.4.0's ABI tagging rules. 2020-08-02 17:08:23 +02:00
Nicky Dasmijn 86d82ce7bc Remove _GLIBCXX_USE_CXX11_ABI as now we're building with GCC 5.4.0 and higher. Which
also means we can switch to C++14 (needs gnu++14 due to breakpad).
2020-07-20 19:05:45 +02:00
Nicky 52c810741e Add clang specific warnings into Linux build macros. 2020-07-17 21:37:46 +02:00
Ansariel 5a8faeb41b Merge branch 'viewer' of https://bitbucket.org/lindenlab/build-variables 2020-01-30 23:01:31 +01:00
Nat Goodspeed 96f8817905 Back out changeset 8bc1d3612082: use version-generic MacOSX.sdk 2019-12-16 11:04:19 -05:00
Ansariel ded7696794 Merge 2019-12-13 23:57:24 +01:00
Ansariel 9bdc293020 Merge upstream 2019-12-13 23:56:05 +01:00
callum_linden 596b63c9f4 Merge with tip 2019-12-12 15:20:46 -08:00
Nicky 051e7f65c5 Linux; Add -Wno-stringop-truncation 2019-11-23 10:11:54 +01:00
Nat Goodspeed 2a2744ef79 DRTVWR-476: Update required Mac SDK to MacOSX.sdk.
Empirically, MacOSX10.15.sdk is a symlink to MacOSX.sdk. Assuming the same is
true of MacOSX10.14.sdk, and probably the last few versions as well, try just
referencing the underlying file, bypassing the version-sensitive name, to see
if that works with both Xcode 10 (10.14.sdk) and Xcode 11 (10.15.sdk).
2019-09-27 11:32:58 -04:00
Nicky f1b7288fbe Linux; Enable LL_RELEASE_FOR_DOWNLOAD 2019-09-20 17:52:21 +02:00
Nicky 2f45a42b8e Remove extra warnings. 2019-09-08 16:52:56 +02:00
Nicky 86d7f02ba8 Warning update for newer GCC versions. 2019-07-17 22:44:56 +02:00
Nicky ef9266d5ee Remove -DCARES_STATICLIB -DLIB_NDOF=1 as the first is just a legacy macro and the second makes no sense to define globally. 2019-03-09 22:34:44 +01:00
Ansariel acb12a3727 Define LL_RELEASE preprocessor symbol for Linux release builds 2019-01-26 17:48:57 +01:00
Oz Linden 48d5dfbf23 update OSX SDK to 10.14 for compatibility with Xcode 10.0 2018-10-09 10:42:41 -04:00
Liny b53c8560a6 Fix GCC errors. 2018-05-28 18:13:23 -07:00
Nicky 3e952d4912 Move Linux build variables from viewer source to variables file. 2018-04-09 00:03:49 +02:00
Ansariel 1e8ff95c20 Add Firestorm Release with Debug Info build targets 2018-03-24 17:57:16 +01:00