summaryrefslogtreecommitdiff
path: root/indra/cmake/WebRTC.cmake
AgeCommit message (Collapse)Author
2025-05-27Pass configuration phase with vcpkg replacing MSYS2Erik Kundiman
I happen to be using just Git Bash for convenience for running the commands on the Windows build instructions, hence the build folder pattern to be ignored from the result of running `uname -s` there. The instructions omit the part where you install vcpkg and set the VCPKG_ROOT environment variable, cause it depends on where you install vcpkg to your liking, but the next commands will rely on that variable being set correctly. The CMake used here is MS VS 2022 Community Edition's one, since it will know where the C++ compiler is. $VCPKG_ROOT/downloads/tools/msys2/21caed2f81ec917b/mingw64/bin is where pkg-config.exe can be found. $VCPKG_ROOT/installed/`uname -m|sed 's/86_//'`-windows/tools/libxml2 is where xmllint.exe can be found (from libxml2[tools]). PKG_CONFIG_LIBDIR and PYTHON environment settings are pretty self-explanatory. The flags set on LL_BUILD are now for Visual C++ and not MinGW(64)'s GCC or Clang any more, and copied from most of the flags in the variables file from LL's build-variables repo. vcpkg's apr & apr-util packages don't seem to install their .pc files, hence the manual target_include/link_directories/libraries settings, relying on some automatically generated INTERNAL CMake variable called prefix_result. vcpkg's Boost needs the same treatment, plus some suffix. We still use LL's prebuilt libs for OpenSSL, libcurl and WebRTC. Actually too for ColladaDOM for now, but we prepare Windows ColladaDOM self-building for later. For GLM and Meshoptimizer too, it's just the checking that's skipped otherwise it would fail (but the vcpkg packages can be used). Visual C++ doesn't recognise the no-deprecated-declarations compile option. On Visual C++, the macro to denote x86-64 seems to be _M_X64 (if not added there, it would try to find sse2neon :)) We still aren't using Autobuild here for Windows either, hence the FALSE-d viewer_manifest.py based file bundling.
2025-04-27Replace {.._DIR}/lib/release with ARCH_PREBUILT_DIRS_RELEASEErik Kundiman
Shorter.
2025-04-19Get the viewer launching on Fedora Asahi RemixErik Kundiman
Media plugins enabling not yet. OpenXR is disabled for now (it hasn't been used anyway). perl-FindBin is needed to be able to build OpenSSL on Fedora aarch64. Setting the C standard to 90 when building cURL is needed, otherwise it would fail at configure time with a misleading error of not finding link/run time requirements for dependencies (such as nghttp2 and zlib), at least on Fedora (and macOS too back then, I remember). GCC treated SSE2NEON warnings as errors on so many files, so -Wno-cpp is added globally. The same Linux CPU frequency calculation needs to be out of the x86 scope, otherwise the viewer would complain about not meeting the requirements at launch time.
2024-12-15Arch uses Crow Misia's WebRTC buildErik Kundiman
cause somehow WebRTC voice didn't work with LL's (Vivox still worked).. Also with LL's, so many devices detected; while with CM's, only built-in audio input device detected.
2024-10-20Working Arch port but CEF & WebRTC are still brokenErik Kundiman
I've tried using FMOD instead, but CEF didn't work either. At first I used crow-misia's WebRTC build but it would cause a segmentation fault, but LL's build seems to break CEF. Gotta find a way so CM's build doesn't crash the viewer. PKGBUILD should be moved to indra/newview as an .in to be configured by CMake for dynamic version numbers, and adjust the instruction too to run makepkg -R from the folder where the generated PKGBUILD will be.
2024-09-30Windows configuration, with MSYS2 in MinGW for nowErik Kundiman
Also simplify CMake-based dependency projects, the parameters that have been set for the viewer seem to have been implied all this time for the subprojects.
2024-09-27ReindentErik Kundiman
2024-09-19LL's WebRTC breaks CEF on Ubuntu too, so use CM'sErik Kundiman
Now that it's only Debian and macOS x86-64 that are left safe to use LL's WebRTC build, the logic is reversed.
2024-09-16WebRTC on Fedora & openSUSE without breaking CEFErik Kundiman
Thanks to the Linux x86-64 WebRTC binary from Zenichi Amano (crow-misia). https://megapahit.com/show_bug.cgi?id=64 Haven't been tested on openSUSE, but it should work.
2024-08-31Make sure webrtc gets emptied before refilling itErik Kundiman
on macOS arm64, the header directory.
2024-08-28Fix left out & error-causing from previous commitErik Kundiman
2024-08-28Disable WebRTC on Fedora and openSUSE TumbleweedErik Kundiman
It breaks CEF on these platforms.
2024-08-28Fix WebRTC include dirs extracted to wrong pathErik Kundiman
for macOS arm64.
2024-08-21Remove the right old WebRTC FrameworkErik Kundiman
2024-08-19Merge branch 'webrtc-voice' into 2024.06-atlasaurusErik Kundiman
2024-08-15Remove old arm64 WebRTC.framework before copyingErik Kundiman
Still triggered by upstream autobuild.xml even though there is actually no need to update on macOS arm64's side.
2024-08-14Automatic WebRTC download and installationErik Kundiman
2024-07-28Merge remote-tracking branch 'secondlife/release/2024.06-atlasaurus' into ↵Erik Kundiman
2024.06-atlasaurus
2024-06-27Prevent automatic download of WebRTCErik Kundiman
for when autobuild's not installed.
2024-06-18Fix whitespace for pre-commit hooksBrad Linden
2024-05-19Get rid of a deprecated warning in Linux buildsRoxie Linden
2024-03-18update to use public github-based release of autobuild webrtcRoxie Linden
2024-03-08Use webrtc autobuild packageRoxie Linden
2024-03-07update webrtcRoxie Linden
2024-02-08New WebRTC with echo cancellation fix.Roxie Linden
Also, start/stop recording depending on whether WebRTC has negotiated.
2024-02-08reorder params as the runners have different versions of cmakeRoxie Linden
2024-02-08some build tweaksRoxie Linden
2024-02-08more picky cmakeRoxie Linden
2024-02-08Cmake on TC is sure pickyRoxie Linden
2024-02-08Try reordering URL_HASHRoxie Linden
2024-02-08TC build cmake complained about URL_HASHRoxie Linden
2024-02-08Use webrtc built binaries from temporary s3 locationRoxie Linden
2024-02-08Updates to build on mac.Roxie Linden
2024-02-08Pull webrtc down from a webserver before building.Roxie Linden
2024-02-08Checkpoint WebRTC VoiceRoxie Linden