python-cmake-buildsystem
A cmake buildsystem for compiling Python (by python-cmake-buildsystem)
msvc-wine
Scripts for setting up and running MSVC in Wine on Linux (by mstorsjo)
python-cmake-buildsystem | msvc-wine | |
---|---|---|
1 | 6 | |
423 | 559 | |
0.9% | - | |
5.4 | 8.3 | |
5 months ago | 10 days ago | |
CMake | Shell | |
Apache License 2.0 | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
python-cmake-buildsystem
Posts with mentions or reviews of python-cmake-buildsystem.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-29.
-
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
msvc-wine
Posts with mentions or reviews of msvc-wine.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-06.
-
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.
What are some alternatives?
When comparing python-cmake-buildsystem and msvc-wine you can also consider the following projects:
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.
infra - Infrastructure to set up the public Compiler Explorer instances and compilers