Commit Graph

69051 Commits (bdc94eac5cda3dd6700a1cd462178b7ac3c4cfec)

Author SHA1 Message Date
Nicky 363f2df4fa Remove function create_target and instead directly use add_library 2022-04-17 18:28:55 +02:00
Nicky e0cf0cdfd4 Switch to target_include_directories
All 3Ps include dirs are treated as SYSTEM, this will stop compilers
stop emitting warnings from those files and greatly helps having high
warning levels and not being swamped by warnings that come from
external libraries.
2022-04-17 18:04:57 +02:00
Nicky 6d0bba9c03 Switch over to standard target_link_libraries (cmake requirements are high enough now). 2022-04-17 17:32:14 +02:00
Nicky 34b5c5e890 Switch to USE_OPENAL 2022-04-16 23:01:00 +02:00
Nicky 5994ca8531 Remove another place where there was some hand crafted logic to deal with bugsplat defines 2022-04-16 22:58:06 +02:00
Nicky a950940adb Streamline fmodstudio/openal targets:
- Targets now define the appropriate c++ defines, no more hand magic needed for llstartup.cpp
- Switch cmakeflage to USE_xxx rather than xxx as it was before. I personally find the USE_X notion more intuitive and it follows how KDU is used.
- To be backward compatible OPENAL/FMODSTUDIO flag will be mapped to USE_OPENAL/USE_FMODSTUDIO
2022-04-16 22:57:09 +02:00
Nicky 3ac18ad993 Streamline bugsplat target:
- Fix usage of bugsplat::bugsplat by using ll::bugsplat
- Use bugsplat define by importing target not by using hand crafted magic
2022-04-16 22:08:40 +02:00
Nicky 2c3507a9d2 Cleanup plugin, create proper target for link libraries. Remove unused
variables.
2022-04-16 19:58:17 +02:00
Nicky c7ea88046b Remove undefined variables 2022-04-16 19:57:35 +02:00
Nicky 0eb2d8056a Pull in LL_GLOD=1 via target, not by hand crafted magic. 2022-04-16 19:55:58 +02:00
Nicky 9b34575ba8 Include Linking to pull in the definition of ARCH_PREBUILT_DIRS_RELEASE 2022-04-16 19:53:51 +02:00
Nicky d006f01c64 Cleanup, remove unused variable 2022-04-16 19:53:25 +02:00
Nicky 7bd0b8306b Make Pulseaudio.cmake just error out. a) it is broken (there is no 3p
for example), the define it sets it used. The vrabiables it did set are
unused.

There is a case to probe for pulseaudio and this is the Linux volume
catcher. But for that it is only necessary to detect the system include
to get a few defines and functions
2022-04-16 19:51:24 +02:00
Nicky 4934b65298 Cleanup 2022-04-16 19:51:02 +02:00
Nicky 5c05466bc4 Remove unused HEADLESS case 2022-04-16 19:50:26 +02:00
Nicky 64fbf878a4 Cleanup 2022-04-16 19:49:55 +02:00
Nicky 4d4caaaf1f Removed unused HEADLESS case. 2022-04-16 19:49:08 +02:00
Nicky ddc2c0265d slvoice_src_dir seems generally not used/ever valid. Not 100% sure
what's with that, maybe it gets set by LLs teamcity builds?
2022-04-16 19:36:15 +02:00
Nicky 1434b4ff96 Remove unused variable. 2022-04-16 19:35:27 +02:00
Nicky cc48def709 Initialize variables so that calling cmake with "--warn-unused-vars --warn-uninitialized" does
not make it go all crazy.
2022-04-16 18:03:04 +02:00
Nicky cf08197ad3 Use variable LLSTARTUP_COMPILE_FLAGS only when it is defined. 2022-04-16 17:30:54 +02:00
Nicky bb35d5a599 Remove some more obsolete includes (UnixInstall) and include_directories() 2022-04-16 17:30:09 +02:00
Nicky 924fa0fa78 create target ll::uilibraries to have one common target that defines what each
operation system needs as dependencies on OS gui libraries.
2022-04-16 17:28:26 +02:00
Nicky f673b958fe Go back to more modern way to compile the physics stub 2022-04-16 17:20:16 +02:00
Nicky 5803625db5 Remove undefined variable GOOGLE_PERFTOOLS_LIBRARIES 2022-04-16 17:18:38 +02:00
Nicky 3eec716b24 Do not use ${ARCH}_linux_INCLUDES atm 2022-04-16 17:17:32 +02:00
Nicky 7d6bb21c9c Remove unset GOOGLEMOCK_INCLUDE_DIRS variable. 2022-04-16 17:13:52 +02:00
Nicky 4c1ce6bd72 Fix a typo. 2022-04-16 17:13:28 +02:00
Nicky c0c5ac0e39 Only try copy voice files from slvoice_src_dir if that variable is set (seems to be the case for Windows) 2022-04-16 17:12:24 +02:00
Nicky e45a6a0f68 Remove obsolete message 2022-04-16 15:35:41 +02:00
Nicky a9774d3427 Request C++ standard via standard cmake. 2022-04-16 15:35:13 +02:00
Nicky b9f94c0897 Now there is a oslibrary target get rid of some more obsolete vars:
LEGACY_STDIO_LIBS (was only used for Windows)
PTHREAD_LIBRARY (only Linux)
LLDATABASE_LIBRARIES (that one was supposed for Linux, but never needed anyway)
2022-04-16 15:33:32 +02:00
Nicky bb85651d98 Create a new target ll::oslibrary to link against libs specific to the OS compiled on.
This gets rid of the a few OS specific set and uses variables (which some even seemed mostly
duplicate like WINDOWS_LIBRARIES ans UI_LIBRARIES) and it also solves the problem of
having them to tack on every target, as of no they come as a transitive dependency from llcommon
2022-04-16 15:29:02 +02:00
Nicky c8eb53859f Remove unused code 2022-04-16 14:21:26 +02:00
Nicky 5aea7576b0 Simple reformat with CLion 2022-04-16 14:20:31 +02:00
Andrey Kleshchev 3fb9993a4a SL-15312 Legacy profiles remake #9
Cleanup obsolete properties processesing
2022-04-16 02:13:49 +03:00
Andrey Kleshchev c9b83e8117 SL-15312 Legacy profiles remake #8
Progress indicators, loading states and 'embedded' cleanup
2022-04-16 01:01:01 +03:00
Mnikolenko Productengine bbdbd6c2dd SL-17204 FIXED The texture with full permissions is settled on the prim after copying texture from the object with texture with no transfer permission 2022-04-15 22:14:38 +03:00
Andrey Kleshchev 94973e736c SL-17224 Update FMOD to version 2.02.06 2022-04-15 21:27:50 +03:00
Andrey Kleshchev efb9df04c3 SL-16831 Don't wait for an updater on login failure unles it's the cause of failure 2022-04-15 20:53:21 +03:00
Beq 40aeff848c [FIRE-31581] - OpenSim Hypergrid hop causes inifinite loop in voice reconnect. 2022-04-15 02:22:43 +01:00
Andrey Kleshchev 3678678506 SL-15312 Legacy profiles remake #7
Finalized agent profile permissions floater
2022-04-15 01:02:39 +03:00
Andrey Kleshchev c184c882c6 SL-17035 Reverted a part of previous commit
According to davep, the intent of Debug GL is to crash and in this it's doing it's job, but the rest of the fix that makes the state not persist is a good solution.
2022-04-15 00:13:36 +03:00
Andrey Lihatskiy f8d5fc6a1f Merge remote-tracking branch 'origin/sl-17218' into DRTVWR-543-maint 2022-04-14 23:46:28 +03:00
Nat Goodspeed b9ed5f9e79 SL-17218: Per NickyD review feedback, test LLFace::mNormals too. 2022-04-14 15:48:09 -04:00
Nat Goodspeed 4e282db26b SL-17218: Credit NickyD's contributions to this Jira. 2022-04-14 15:32:19 -04:00
Nat Goodspeed 557fb2cccd SL-17218: Update faulty test for null LLFace::mTangents 2022-04-14 15:29:05 -04:00
Andrey Kleshchev e5cd4da823 SL-17035 Crash at gl_debug_callback
RenderDebugGL was avaliable from develop menu, but since it was persistent, caused slowdowns and crashes it could result in users crashing or lagging without knowing the cause. To resolve the issue it was made to last for a single session.
2022-04-14 22:26:58 +03:00
Nicky 0dc325c1e9 void LLTexLayerSet::asLLSD was never used, remove it completely.
(cherry picked from commit 7f0259f0e767969d260514e9ea810cbde7f1d24c)
2022-04-14 14:31:57 -04:00
Nicky 46824ae0e8 Semicolon at end of for loop was making sure nothing ever got done.
The whole methode is questionable in doing nothing and it seems there was a deliberate change
that made sure it does nothing. I am not sure what this method really is supposed to do, thus I did opt
for the most basic version of "do nothing" like it was before.

(cherry picked from commit 1c1a93e42e209e959f09ec46ca414a8936f4ac20)
2022-04-14 14:31:57 -04:00