HMake
cxx-static-shared-example
Our great sponsors
HMake | cxx-static-shared-example | |
---|---|---|
5 | 12 | |
15 | 32 | |
- | - | |
7.3 | 0.0 | |
10 days ago | over 2 years ago | |
C++ | CMake | |
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.
HMake
-
C++ Show and Tell - June 2023
Fork from here, then first build Example 1 from here as per instructions. Then create build-dir in SFML and run hhelper twice and hbuild once there.
- The Hero You Are Looking For. HMake BuildSystem 0.1. Supports drop-in replacement of header-files with header-units.
-
Standard Library Modules Bug Bash
I wanted to include a modules Hello World example in my project https://github.com/HassanSajjad-302/HMake but I could not. I considered 2 options. 1) Using the STL module source, but that was not available. If it had been available, only one line would have been needed. ADD_MODULE_DIR_TO_TARGET(app, "./modules/", ".*");
- HMake. An Update. Now Supports Fully Multithreaded, Cached Modules Compilation(Including Header-Units) With Pretty-Printed Colored Output.
-
I am trying to replace CMake with c++
I am writing a new build system HMake on top of CMake. Basically, HMake is a C++ library that generates a CMakeLists.txt file. There are very important features missing in it currently. Though I believe they can be added. I was able to generate two trivial CMakeLists.txt files which work for my two projects. One example is the following.
cxx-static-shared-example
-
How does one just "create a library, package, or tool" ?
Anyone can create a library using cmake-init. This example goes into a little more detail and while it's for C++, the very same things apply sans a single target property on the library.
-
CMake template for C++ library (static/shared & Windows/Linux) project
Thanks, I noticed a project friendlyanon/cxx-static-shared-example that have feature I didn't used.
-
how can I make a dynamic library using cmake?
https://github.com/friendlyanon/cxx-static-shared-example explains how to do libraries correctly, https://github.com/friendlyanon/cmake-init gives you a template that's ready to go. If something is not clear, ask away.
-
Beginner Question: How do I link a shared library (DLL) with my game's executable?
Here is an example going deeper into how to create a shared library using CMake: https://github.com/friendlyanon/cxx-static-shared-example You'd have to do these regardless of CMake, this just shows how to do it with it.
-
A comprehensive resource for making libraries?
This example is more focused on explaining on the what and why.
-
CPack builds too much
Or if you are also packaging .deb then you're going to need a toolchain anyway, you can put these variables there as well.
-
I am trying to replace CMake with c++
To learn how to write a CML that is ideally written to be easy for both consumers building the library, developers developing the library and consumers vendoring the library via add_subdirectory (which will be a very very important thing to do in the near future), please check out this educational example repository https://github.com/friendlyanon/cxx-static-shared-example
-
Ive created a github repo showcasing modern, target based, cmake projects
This repo will show you how to make your project CML for an easy to (re)use library that supports packaging.
-
Nuke for C++
CMake's what you want. You need to know how separation of concerns applies when it comes the lists files. Resources in general suck, the CMake docs are not really discoverable, but are very good otherwise. You can get a handle of how things are supposed to be put together here.
-
CLion IDE
cxx-static-shared-example - 50 lines for requirements + however many for sources + 60 for install rules: now this is a library that builds some artifacts. Still extremely simple and straightforward.
What are some alternatives?
Sharpmake - Sharpmake is an open-source C#-based solution for generating project definition files, such as Visual Studio projects and solutions, GNU makefiles, Xcode projects, etc.
STL - MSVC's implementation of the C++ Standard Library.
meson - The Meson Build System
Jsonifier - A few classes for parsing and serializing objects from/into JSON, in C++ - very rapidly.
ccls - C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
ReductStore - A time series database for storing and managing large amounts of blob data
FunctionalPlus - Functional Programming Library for C++. Write concise and readable C++ code.
imgprmt - Store an image prompt as a basic web page, embedded within a tweetable JPG image.
prorab - :construction_worker: non-recursive GNU make-based build framework
cmakesl - An attempt to introduce a new scripting language for CMake
cmake-init - The missing CMake project initializer