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: rust-lang/cmake-rs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.54
Choose a base ref
...
head repository: rust-lang/cmake-rs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.1.55
Choose a head ref
  • 7 commits
  • 4 files changed
  • 6 contributors

Commits on Aug 11, 2025

  1. Configuration menu
    Copy the full SHA
    f09de3f View commit details
    Browse the repository at this point in the history
  2. Canonicalize the build directory

    Avoid some problems with relative paths by attempting to expand. Still
    fall back to the originally provide path if canonicalization fails.
    
    Fixes: #227
    tgross35 committed Aug 11, 2025
    Configuration menu
    Copy the full SHA
    19cd68a View commit details
    Browse the repository at this point in the history
  3. Set the MSRV to 1.65 and test this in CI

    Currently this crate has no clear MSRV. Pick a common ecosystem point of
    1.65 (let-else!) and start testing that in CI.
    
    We could easily bump this further if needed, but there isn't much active
    development and it is unlikely to be a point of contributor friction. We
    can't easily be much below this because of `cc`.
    tgross35 committed Aug 11, 2025
    Configuration menu
    Copy the full SHA
    e6bfc1c View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2025

  1. Make sure that cmake generate build files in current dir (#194)

    This should fix the `Error: could not load cache` BUG.
    
    If there are already generated build files in the project directory,
    then if you execute the command `cmake path/project` in
    `$OUT_DIR/build`, cmake will not generate new build files in the
    `$OUT_DIR/build` directory.
    
    So `-B .` is needed.
    https://cmake.org/cmake/help/latest/manual/cmake.1.html#cmdoption-cmake-B
    
    Example:
    
    ```sh
    cd /path/to/project
    cmake .         
    # output `Build files have been written to: /path/to/project`
    cd /path/to/build && cmake /path/to/project
    # we expect the build files will be generated at current dir (/path/to/build)
    # but unfortunately get `Build files have been written to: /path/to/project`
    cd /path/to/build && cmake /path/to/project -B .  
    # output `Build files have been written to: /path/to/build`, that is right!
    ```
    
    Infomation:
    ```
    cmake --version
    cmake version 3.27.7
    
    CMake suite maintained and supported by Kitware (kitware.com/cmake).
    ```
    meowtec authored Aug 15, 2025
    3 Configuration menu
    Copy the full SHA
    b59be3b View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2025

  1. Add Visual Studio 2026 support (#255)

    I have tested this and it appears to work well.
    
    Fixes #253
    reflectronic authored Dec 10, 2025
    Configuration menu
    Copy the full SHA
    6e68d9c View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2025

  1. Windows: Remove the \\?\ prefix from paths (#259)

    When a path is canonicalized on Windows, a `\\?\` prefix is used.
    However, it appears that cmake can have problems with that. This simply
    attempts to remove the prefix as we do still want to use absolute path
    here due to #200.
    
    Fixes #258
    ChrisDenton authored Dec 11, 2025
    Configuration menu
    Copy the full SHA
    08af05c View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2025

  1. chore: release v0.1.55 (#249)

    ## 🤖 New release
    
    * `cmake`: 0.1.54 -> 0.1.55 (✓ API compatible changes)
    
    <details><summary><i><b>Changelog</b></i></summary><p>
    
    <blockquote>
    
    ##
    [0.1.55](v0.1.54...v0.1.55)
    - 2025-12-11
    
    ### Other
    
    - Remove the `\\?\` prefix from paths
    ([#259](#259))
    - Add Visual Studio 2026 support
    ([#255](#255))
    - Make sure that cmake generate build files in current dir
    ([#194](#194))
    - Set the MSRV to 1.65 and test this in CI
    - Canonicalize the build directory
    - Use `eprintln` instead to print the command running next
    ([#191](#191))
    </blockquote>
    
    
    </p></details>
    
    ---
    This PR was generated with
    [release-plz](https://github.com/release-plz/release-plz/).
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Dec 12, 2025
    Configuration menu
    Copy the full SHA
    c460840 View commit details
    Browse the repository at this point in the history
Loading