cmake-init
dockcross
Our great sponsors
cmake-init | dockcross | |
---|---|---|
164 | 12 | |
1,812 | 3,137 | |
- | 1.7% | |
8.1 | 7.9 | |
4 days ago | 7 days ago | |
CMake | Shell | |
GNU General Public License v3.0 only | 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
-
CMake install schema for single- and multi-config generators
https://github.com/friendlyanon/cmake-init This is how you do CMake properly. If you deviate from its install rules you are highly likely to do something wrong.
-
cgen: another declarative CMake configuration generator
CMake itself is as declarative as a build systems need to be. For anything nontrivial, these "declarative" solutions all fall apart. Just use https://github.com/friendlyanon/cmake-init, learn CMake and you won't have any issues.
-
How does one actually build a C++ project
If you want something with a (mostly) Just Works experience then just use https://github.com/friendlyanon/cmake-init
- CMakeList.txt, add_executable vs. add_library vs. target_link_libraries vs. target_link_directories
- Check out my tasks.json for C++ of VScode
- Clang++ Halp
-
Putting libraries in program folder
For CMake basics check out the official "Getting started" tutorial: https://cmake.org/cmake/help/latest/guide/tutorial/index.html, as well as Introduction to Modern CMake. You can also get inspired by the CMake project generator cmake-init
- Recourses to help understand libraries/projects and setting them up?
-
How to Create a Modern C Project with CMake and Conan
You can just use https://github.com/friendlyanon/cmake-init to get a CMake + Conan C project ready to go with a short little command: cmake-init --c -e -p conan coolio
- CMake template
dockcross
- Cross compiling toolchains in Docker images
-
Hello Wasm World!
We use the add_executable command to build executables with itk-wasm. The Emscripten and WASI toolchains along with itk-wasm build and execution configurations are contained in itk-wasm dockcross Docker images invoked by the itk-wasm command line interface (CLI). Note that the same code can also be built and tested with native operating system toolchains. This is useful for development and debugging.
-
Stable or unstable distros for cross-compiling?
Docker is great for self-contained build environments, no risk of them breaking each other. Eg. https://github.com/dockcross/dockcross
- Dockcross – Cross compiling toolchains in Docker images
-
Fast CRC32 library
It is C ++ 11 compatible, I recommend C ++ 17, it is cross-platform (x86, ARMv7, ARMv8, PowerPC, windows, Linux...), Thanks to [dockcross](https://github.com/dockcross/dockcross) .
-
COOL Compiler for AArch64
First of all, I learned basic instructions of AArch64 and how to use cross compile COOL codes into AArch64 assembly codes via dockcross.
-
What do you think of my C++ project and how to improve it ?
It is C ++ 11 compatible, I recommend C ++ 17, with OpenMP (For better multi-core performance), it is cross-platform (x86, ARMv7, ARMv8, PowerPC, windows, Linux...), Thanks to dockcross .
-
What is the easiest way to create a docker image for CI/CD with a specific distro and libs for C/C++?
I would not say it easy, but checkout this setup: https://github.com/dockcross/dockcross
-
Which is better? Docker in Proxmox Debian or in LXC?
I still maintain a single LXC container for each service. So far I'm doing this to run Nginx Proxy Manager and Vaultwarden, as well as a development container where I use Docker to run cross-platform builds with dockcross.
-
Initial Release: "Zero-Setup" Cross-Compilation for C and C++
xcross provides Docker images with toolchains for a wide variety of different architectures, C and C++ standard libraries, and both bare-metal and Linux-based systems. A complete list of supported targets can be found here. This differs from dockcross in that it supports numerous more architectures and C runtimes.
What are some alternatives?
meson - The Meson Build System
cross - “Zero setup” cross compilation and “cross testing” of Rust crates
w64devkit - Portable C and C++ Development Kit for x64 (and x86) Windows
xcross - "Zero Setup" cross-compilation for C/C++. Supports numerous architectures, build systems, C standard libraries, vcpkg, and Conan.
xmake - 🔥 A cross-platform build utility based on Lua
steam-runtime - A runtime environment for Steam applications
fastbuild - High performance build system for Windows, OSX and Linux. Supporting caching, network distribution and more.
mint-docker - Mint development environment running in Docker
ModernCppStarter - 🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
SDL - Simple Directmedia Layer
llvm-mingw - An LLVM/Clang/LLD based mingw-w64 toolchain
Fortran-code-on-GitHub - Directory of Fortran codes on GitHub, arranged by topic