Ansariel
c17312d383
Merge branch 'master' of https://github.com/secondlife/build-variables into universal
2025-11-17 13:44:57 +01:00
Ansariel
ad17a7939a
Merge branch 'master' of https://github.com/FirestormViewer/fs-build-variables into universal
2025-11-17 13:44:44 +01:00
Jonathan "Geenz" Goodman
f8fad0dbbf
Merge pull request #10 from secondlife/universal
...
Universal build support for Apple Silicon
2025-09-18 16:44:17 -04:00
Beq
a054df979f
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-09-08 21:37:12 +01:00
Beq
bd147c5b88
Try to gather the full set of warnings rather than just suppress them
2025-09-08 17:51:03 +01:00
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
4087a21060
Merge pull request #9 from secondlife/rye/universal
...
Update windows flags to /zc:wchar_t for better c++ standards compliance on modern msvc
2025-02-06 01:49:56 -05: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
8514c9421d
Add common apply_patch function
2024-11-19 00:47:54 -08: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
4eee88a7f0
Merge pull request #8 from secondlife/rye-linux64
...
Add missing LL_ macros and raise Release optimization level on linux
2024-11-12 14:01:37 -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
nat-goodspeed
c5895b5f50
Merge pull request #7 from RyeMutt/fix-cxxstd
...
Fix CXXSTD_REGEXP to work with msvc-style flags
2024-08-09 14:27:51 -04:00
Rye Mutt
14507c6276
Fix CXXSTD_REGEXP to work with msvc-style flags
2024-08-09 13:46:55 -04: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
Signal Linden
afbb42ab1e
Merge pull request #5 from Nicky-D/patch-1
...
Update variables
2024-04-10 07:54:33 -07: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
nat-goodspeed
2daf9bfeee
Merge pull request #4 from secondlife/cmake-osx-target
...
Extend set_target function to add -DCMAKE_OSX_DEPLOYMENT_TARGET=...
2023-12-19 12:38:21 -05:00
Nat Goodspeed
deac01ad00
Extend set_target function to add -DCMAKE_OSX_DEPLOYMENT_TARGET=...
2023-12-19 10:31:53 -05:00
Nat Goodspeed
42b2d069da
Add set_target shell function to functions.
...
set_target scans existing switches for -mmacosx-version-min=VVVV and adds (or
replaces) -target x86_64-apple-macosVVVV.
This is to address build systems that infer a default -target and ignore
-mmacosx-version-min.
2023-11-15 16:56:10 -05:00
Vir Linden
85057fbc86
Merge pull request #3 from secondlife/viewer
...
Viewer
2023-11-15 09:19:26 -05:00
Nat Goodspeed
85fb1e0417
Symbols in code font don't need underscore escaping.
...
Also use code font for symbol components.
2023-11-14 16:45:54 -05:00
Nat Goodspeed
3eeabb52f1
Remove obsolete reference to build-variables fork.
...
Also tweak README.md with relative references and code formatting.
2023-11-14 16:40:41 -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
4a04ba2f6d
SL-18837: When indirectly accessing $1, et al., careful past $9!
...
"$10" is "$1" plus "0". Have to use "${10}" to get the next positional.
2023-04-18 17:28:42 -04:00
Nat Goodspeed
985f58f4c5
SL-18837: Refactor shell functions.
...
Express everything in terms of _find, which does the only looping, and a pair
of _test_sw and _test_re functions that are themselves passed to _find,
_remove and _replace to differentiate equality test from regexp match.
2023-04-18 17:01:33 -04:00
Nat Goodspeed
1eeb4f474f
SL-18837: Extract 'functions' from 'convenience'; add remove_cxxver
...
and remove_match. In particular, though, it turns out to be important not to
specify -std=c++NN to the classic C compiler.
2023-04-18 14:06:32 -04:00
Nat Goodspeed
9d0a9b4b0d
SL-18837: Allow sourcing 'convenience' even in a set -u shell.
2023-04-17 16:51:29 -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
Ansariel
ea92794e53
Merge branch 'viewer' of https://bitbucket.org/lindenlab/build-variables
2022-06-08 09:56:40 +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