Comments (9)
Acknowledged the ask, I will free some time for this but I can’t promise it’s soon because I see this as a nice to have
from zpp_bits.
Cmake? co-ask.
from zpp_bits.
Closed due to inactivity, as mentioned in above comments cmake transparently works with header only.
from zpp_bits.
It's a header only library, it doesn't need to "make" itself, so in my opinion cmake is not necessary.
This is how I reference it in my cmake project:
target_include_directories(my_test SYSTEM PRIVATE C:/Libraries/zpp_bits)
You could replace the path with variable ${ZPP_BITS_PATH}
, and then provide this variable to the cmake command, for example:
-DZPP_BITS_PATH="C:/Libraries/zpp_bits"
Anyway, you need a way to find the library, even with cmake.
from zpp_bits.
from zpp_bits.
CMake is needed for the test cases
Well, indeed it is.
from zpp_bits.
But the test cases are not a dependency in your project
from zpp_bits.
from zpp_bits.
Well, CMake might be overkill for header only library, but as @wxinix said, it'll be great to cover code by tests.
But the test cases are not a dependency in your project
But the case that I really want to achieve is cloning project during configuration step. I usually use CPM for managing project's dependencies. And it's pretty uncomfortable for me to load and insert some third_party stuff to the project. I enjoy to load dependencies into the build folder, which is ignored by git 🍰
from zpp_bits.
Related Issues (20)
- Bug: Can't use std::string_view as function parameter for RPC HOT 2
- cannot decompose class type have non-static data members HOT 7
- support for std::shared_ptr<const T> HOT 9
- Compilation fails with C++20 and C++23 with gcc 11.3 HOT 2
- std::array treated as agregate HOT 6
- Undefined behavior found when serializing zero-sized "item" HOT 3
- Implicit conversion changes signedness warning on serialising QByteArray HOT 8
- self_referencing behaves differently for structs and classes HOT 6
- How to serialise large vectors in chunks? HOT 13
- C style arrays HOT 1
- FR: Support for bitfields? HOT 3
- can't serialize std::expected HOT 2
- Cannot serialize optional unique pointer HOT 2
- Some help with unique_ptr, etc. HOT 1
- Add support of mixins/user-data for archives HOT 2
- Please document serialisation format HOT 3
- The server crashes if the signatures of the server-side and client-side functions differ HOT 2
- SHA265 does not compile for arm32 platform HOT 8
- Multi-language support HOT 2
- Serialization size estimate? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zpp_bits.