msvc-wine
python-cmake-buildsystem
msvc-wine | python-cmake-buildsystem | |
---|---|---|
6 | 1 | |
569 | 424 | |
- | 1.2% | |
8.3 | 5.4 | |
24 days ago | 5 months ago | |
Shell | CMake | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
msvc-wine
-
How to deal with MSVC in DevOps
Okay, I am trying it, but it does not exactly work out of the box. Do you remember how you got a hand on the MSVC libraries? I use https://github.com/mstorsjo/msvc-wine to download the MSVC toolchain using python, and then I simply wget this file https://raw.githubusercontent.com/llvm/llvm-project/main/llvm/cmake/platforms/WinMsvc.cmake, and call CMake like in the example the file has as a comment in the first few lines. I installed clang-tools-15 and lld-15 using apt. Does this sound somehow correct? I set all the paths correctly and I get a CMake Error "include could not find requested file: [...] //ClangClCMakeCompileRules.cmake", the error occurs while CMake is testing the C compiler if it works.
-
Wine 8.0
That's a nice lead! - I'll try looking into that more. If you have or remember some more details - please share! Thanks!
(One of my use cases is https://github.com/mstorsjo/msvc-wine - and invocation of `cl.exe` or `link.exe` taking 250ms at each is not going to be great (then again `cl.exe` can be made to input several .cpp/.c files, but it becomes more awkward to express that at the build level).
- Cross compiling pybind11 module with Mingw-gcc for Windows from Linux
-
Visual Studio 2022 17.4 is available!
you can run the C++ compiler via wine: https://github.com/mstorsjo/msvc-wine
-
Wine 6.15 Released
I guess I should try installing MSVC again one of these days. Maybe it's finally possible to setup a "real" Windows cross compilation build environment without msvc-wine.
python-cmake-buildsystem
-
Cross compiling pybind11 module with Mingw-gcc for Windows from Linux
However, someone tried to port the Python build system to CMake, so you could try that: https://github.com/python-cmake-buildsystem/python-cmake-buildsystem
What are some alternatives?
infra - Infrastructure to set up the public Compiler Explorer instances and compilers
CPP20-Cross-Platform-Template - A template for a cross-platform C++20 project including CMake, unit-testing with Catch, cross-platform CI with Travis-CI/Github Actions and cross-platform release builds using Github Actions.
Navidrome Music Server - ๐งโ๏ธ Modern Music Server and Streamer compatible with Subsonic/Airsonic
RustCMake - An example project showing usage of CMake with Rust
pyenv - Simple Python version management
corrosion - Marrying Rust and CMake - Easy Rust and C/C++ Integration!
NCCABoilerplate - A set of Boilerplate projects for most of the work we do
CPython - The Python programming language
box64 - Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
docker-msvc-cpp - Dockerized Visual C++ environment with wine
CPM.cmake - ๐ฆ CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.