Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows ccache support #6

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open

Windows ccache support #6

wants to merge 42 commits into from

Commits on May 28, 2023

  1. UI: Disable warnings emitted by Qt frameworks

    Qt uses quoted includes in Framework headers (which is discouraged
    by Apple) and also has some questionable use of the comma operator.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    62945d3 View commit details
    Browse the repository at this point in the history
  2. libobs: Silence clang warnings for empty prototypes without void

    clang expects an empty prototype to explicitly use `void`.
    
    Also silences the warning in `libobs-opengl`, `obsglad`, `caption`,
    `mac-syphon` and `obs-x264-test`.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    d58cb47 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ce3eb82 View commit details
    Browse the repository at this point in the history
  4. UI: Wrap unreachable code in comment to fix clang warnings

    The branch is never taken and the code acts as documentation for a
    (possible) future use case. According to YAGNI it could be removed
    entirely, wrapping it in a comment is the less destructive approach.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    d6aef68 View commit details
    Browse the repository at this point in the history
  5. obs-scripting: Silence clang warnings about unreachable code

    Source code is generated by Swig, so we just silence the warning.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    7da16af View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a033823 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8d506fc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a80545e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    379d961 View commit details
    Browse the repository at this point in the history
  10. obs-outputs: Silence all ftl-sdk warnings

    The FTL SDK is outdated and not actively maintained - the warnings are
    known and acknowledged, so there is no need to further pollute the
    build output with them.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    3fecee1 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    abddd37 View commit details
    Browse the repository at this point in the history
  12. cmake: Disable Framework code signing at build time

    Frameworks should be archived and exported (where they will be
    codesigned by Xcode) or shipped within an App bundle where Xcode will
    also take care of it.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    915be76 View commit details
    Browse the repository at this point in the history
  13. cmake: Enable suggested default Xcode build settings for macOS builds

    Also updates Ninja-based clang settings to ensure builds fail on same
    compilation issues.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    26abab3 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    9d09819 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9b4fb10 View commit details
    Browse the repository at this point in the history
  16. cmake: Fix CMake policy scopes and add include guards

    Include guards ensure that bootstrap includes happen only once for the
    entire project. Moving all policy changes into an included file without
    its own policy scope ensures that the policy is applied to the project.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    68bfe5c View commit details
    Browse the repository at this point in the history
  17. cmake: Update macOS compiler configuration

    Compiler extensions are disabled before the first `project` call to
    force CMake into considering compilers to not support GNU extensions
    (even though clang and gcc do).
    
    Also sets common clang compiler options so they can be used across all
    supported platforms.
    
    `openmp-simd` support is enabled by default as there is no performance
    penalty on x86_64 systems and intrinsics are enabled on arm64.
    
    Also implements CMake's `CMAKE_COMPILE_WARNING_AS_ERROR` flag to
    enable the desired behavior and configuration time.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    f405303 View commit details
    Browse the repository at this point in the history
  18. cmake: Remove Info.plist template files for macOS builds

    Creation of Info.plist files through Xcode is more canonical and
    future-proof, as it will automatically pick up changes/updates
    introduced by Apple. Non-standard keys can still be added via a
    template file, which will then be extended by Xcode with the default
    keys.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    78ae23e View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    c1fb419 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    c0bf562 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    f183db4 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    b34cdfe View commit details
    Browse the repository at this point in the history
  23. libobs: Update search paths for modules and module data

    No 32-bit builds exist anymore, so default to 64-bit subdirectory.
    
    While the directory itself is unnecessary, too many user settings might
    rely on obs64.exe being in that specific directory, so we cannot easily
    deprecate this location.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    3c3d742 View commit details
    Browse the repository at this point in the history
  24. obs-text: Add changes for CMake build framework 3.0

    New code path only taken if OBS_CMAKE_VERSION is set to 3.0.0 or
    greater, old functionality remains unchanged.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    f054aea View commit details
    Browse the repository at this point in the history
  25. win-capture: Add changes for CMake build framework 3.0

    New code path only taken if OBS_CMAKE_VERSION is set to 3.0.0 or
    greater, old functionality remains unchanged.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    df23c9b View commit details
    Browse the repository at this point in the history
  26. win-dshow: Add changes for CMake build framework 3.0

    New code path only taken if OBS_CMAKE_VERSION is set to 3.0.0 or
    greater, old functionality remains unchanged.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    4ad3771 View commit details
    Browse the repository at this point in the history
  27. libobs-d3d11: Add changes for CMake build framework 3.0

    New code path only taken if OBS_CMAKE_VERSION is set to 3.0.0 or
    greater, old functionality remains unchanged.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    9ef69fc View commit details
    Browse the repository at this point in the history
  28. win-wasapi: Add changes for CMake build framework 3.0

    New code path only taken if OBS_CMAKE_VERSION is set to 3.0.0 or
    greater, old functionality remains unchanged.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    8b396d1 View commit details
    Browse the repository at this point in the history
  29. ipc-util: Add changes for CMake build framework 3.0

    New code path only taken if OBS_CMAKE_VERSION is set to 3.0.0 or
    greater, old functionality remains unchanged.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    4b1b579 View commit details
    Browse the repository at this point in the history
  30. libobs-winrt: Add changes for CMake build framework 3.0

    New code path only taken if OBS_CMAKE_VERSION is set to 3.0.0 or
    greater, old functionality remains unchanged.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    5212606 View commit details
    Browse the repository at this point in the history
  31. obs-ffmpeg: Add changes for CMake build framework 3.0

    New code path only taken if OBS_CMAKE_VERSION is set to 3.0.0 or
    greater, old functionality remains unchanged.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    fd07082 View commit details
    Browse the repository at this point in the history
  32. obs-qsv11: Add changes for CMake build framework 3.0

    New code path only taken if OBS_CMAKE_VERSION is set to 3.0.0 or
    greater, old functionality remains unchanged.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    969c64d View commit details
    Browse the repository at this point in the history
  33. obs-outputs: Fix compiler settings for MSVC compilation

    Clang and gcc warning suppression should only occur on platforms which
    use these compilers by default.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    919c8b8 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    7d0a7e1 View commit details
    Browse the repository at this point in the history
  35. UI: Add changes for CMake build framework 3.0

    New code path only taken if OBS_CMAKE_VERSION is set to 3.0.0 or
    greater, old functionality remains unchanged.
    PatTheMav committed May 28, 2023
    Configuration menu
    Copy the full SHA
    650f2e4 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    d93b45b View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    c0c72a0 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    81175e3 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    75ee150 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    ded2193 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    635daa6 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    a1358a1 View commit details
    Browse the repository at this point in the history