cmake-init-clang-on-windows
cmkr
cmake-init-clang-on-windows | cmkr | |
---|---|---|
9 | 12 | |
9 | 372 | |
- | 3.8% | |
0.0 | 7.0 | |
over 2 years ago | 20 days ago | |
CMake | C++ | |
- | MIT License |
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.
cmake-init-clang-on-windows
- Using Clang on Windows without Visual Studio.
-
Best compiler for C99
Or LLVM Clang directly without a pseudo *nix environment: https://github.com/friendlyanon/cmake-init-clang-on-windows
-
Cross Compile
While not embedded, but here is an example for compiling with LLVM Clang on Windows without needing vcvarsall.
-
Why does Microsoft want to ditch C?
I was informed that this is not the case. lld supports PE/COFF natively on Windows. You just need to provide some flags to use the MSVC .lib and include files to use Clang properly. Or use the vcvarsall, but that's stinky and I don't like having all that env stuff in my terminal all the time.
-
Quick guide to Windows programming for Unix/Linux C programmers?
Regarding building, I'd advise staying as far away from Mingw, msys and Cygwin as possible. You can just use LLVM Clang without any issue on Windows. You can keep using vim with Clang tools as if you were on Linux still.
-
What Linux distros and environment setup are recommended/optimal for C++ development?
CMake, Clang and Conan work all the same on all operating systems. I don't know why you would like to force yourself into one kind of environment that might not suit your needs in other areas as well. On Windows, you can even use LLVM Clang without godawful hacks like mingw.
-
Build2 seems to have the right idea.
From a quick searching I found what it takes to compile a Windows executable on macOS, these flags could be very easily turned into a toolchain file and the situation would be similar on Linux as well.
-
Thoughts on build systems?
cmake-init was just for a general project setup. One of the examples in fact shows what a toolchain file should look like.
-
Installing c compiler on windows 10.
You can also just use LLVM Clang on Windows. Still requires MSVC installed though, because of link.exe, system .libs and system headers.
cmkr
-
cgen: another declarative CMake configuration generator
Been using https://cmkr.build/ for a while now, its great and also declarative.
-
Best practice for cpp projects using CMake
I would like to counter with a project I’ve been working on: https://cmkr.build. Unfortunately writing good CMake is extremely repetitive and there is definitely room for a generator that has sane defaults.
-
How Visual Studio Became Unusable to Me
You are trying to use it the wrong way it seems, the point of CMakeLists.txt is that you only maintain that and nothing else. If you have changes in there then it will re-generate the project for you when it starts building. Adding files via IDE is not supported and is not really the point, there used to be a time where I primarily worked with VS solutions but the more I dove into the open source space the more it became clear that its the worst way of doing it. You just have to get used to a different workflow, the benefit is that your project can be in theory now compiled on all sorts of systems and not just with VS. If CMake is too much to handle perhaps give https://cmkr.build/ a try, it hides a lot of the CMake madness behind its toml specification, been using it for a while now, its great.
- Cmkr: Modern build system based on CMake and TOML
-
What about a CMake transpiler?
https://cmkr.build/ its pretty straight forward and been using it for some time now, can only highly recommend it.
-
On which hobby or side projects are you working on?
Currently working on https://github.com/build-cpp/cmkr
-
Thoughts on build systems?
I started working on https://github.com/build-cpp/cmkr to remedy this, but other similar solutions exist.
-
CMake Template and Simple Tutorial for VS Code C++
I invite you to take a look at https://github.com/build-cpp/cmkr, it makes this even easier ^
-
What are you working on lately?
I’ve been working on cmkr, a modern build system based on CMake and TOML.
-
CheckStyle-like programs/plugins for MSVC++?
Definitely! I would recommend using cmake because it’s easy to generate a compile_commands.json. I’ve been working on https://build-cpp.github.io/cmkr to make the transition as smooth as possible.
What are some alternatives?
Vcpkg - C++ Library Manager for Windows, Linux, and MacOS
tomlplusplus - Header-only TOML config file parser and serializer for C++17.
conan - Conan - The open-source C and C++ package manager
CPM.cmake - 📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.
raylib - A simple and easy-to-use library to enjoy videogames programming
cmake-init - The missing CMake project initializer
libpq - build2 package for PostgreSQL C client library
LMRTFY - Let Me Run That For You: A C++20 Thread Pool Library
sol2 - `build2` package of `sol2`
Ecosystem - You play God
spdlog - build2 package of the spdlog library
kangaru - 🦘 A dependency injection container for C++11, C++14 and later