Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: StableCoder/cmake-scripts
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 24.04.1
Choose a base ref
...
head repository: StableCoder/cmake-scripts
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 24.08
Choose a head ref
  • 6 commits
  • 5 files changed
  • 1 contributor

Commits on Aug 23, 2024

  1. Modernize sanitizer scripts

    The previous sanitizer support was implemented in a very rigid manner,
    with the compile options available for each sanitizer type been preset,
    and enabling of each sanitizer through a preset variable.
    
    This change makes it so that setting of compile options can be set on a
    per-sanitizer-type basis and then added to builds via functions. Use via
    the legacy `USE_SANITIZER` is available, but deprecated.
    
    This is also flexible enough to allow overriding of the compile options,
    via variables either in-script or passed in via the command-line.
    
    Results of checks for compile compatability are cached, reducing time
    on subsequent builds, provided the associated compile options are not
    updated.
    
    Checks for sanitizer availability/compatability are no longer platform
    dependent. It will check on all platforms.
    StableCoder committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    33a33ee View commit details
    Browse the repository at this point in the history
  2. Add GCC variants of Linux/Sanitizer CI jobs

    While clang has the best support, GCC also supports a number of
    sanitizers, so verify via new CI jobs.
    StableCoder committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    0963874 View commit details
    Browse the repository at this point in the history
  3. Add macOS variants for sanitizer CI jobs

    For macOS, add jobs testing sanitizer works both with AppleClang and
    Clang.
    StableCoder committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    3d30823 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2024

  1. Add Windows CI variant for sanitizer CI jobs

    For Windows, add jobs testing the address sanitizer for MSVC, as no
    sanitizer is known to work with Clang or Clang-CL.
    StableCoder committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    749aef6 View commit details
    Browse the repository at this point in the history
  2. Updated C++ standards macros

    Each C++ version macro now uses version-specific variables instead of
    one general, to help prevent issues when changing versions and the
    variable being accidentally being used for a different version across
    configurations/generations.
    StableCoder committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    6a3fcab View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2024

  1. Update sanitizer checks to include link options

    When checking for the availability of a sanitizer, it now checks the link
    options as well as the compile options.
    StableCoder committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    bedde52 View commit details
    Browse the repository at this point in the history
Loading