tomlplusplus
cmkr
Our great sponsors
tomlplusplus | cmkr | |
---|---|---|
23 | 12 | |
1,400 | 368 | |
- | 4.3% | |
6.4 | 6.6 | |
about 1 month ago | 13 days ago | |
C++ | C++ | |
MIT License | 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.
tomlplusplus
-
how to handle config files in c++?
Unless you want to make your own config file parser as an exercise (which is a good idea) I'd recommend using toml++.
-
Cmake fetchContent not working in a docker container.
It's a public repo - this one: https://github.com/marzer/tomlplusplus but thank you
-
Poxy - a Doxygen frontend - v0.9.0 released
For a live demo, see the toml++ homepage: https://marzer.github.io/tomlplusplus/
-
Preferred way to read in application settings/config in C++
Added bonus, tomlplusplus is a solid C++ implementation, actively updated, and easy to drop into a project (header only, CMake, vcpkg, Conan, etc.). Very easy to use for what I've needed.
-
toml++ v3.2.0 released
Key links: - Homepage: https://marzer.github.io/tomlplusplus/ - Repository: https://github.com/marzer/tomlplusplus - "What is TOML?": https://toml.io/
-
CMake for toml not working
cmake_minimum_required(VERSION 3.23) project(testProj) set(CMAKE_CXX_STANDARD 23) set(FETCHCONTENT_BASE_DIR ${PROJECT_SOURCE_DIR}/${CMAKE_PROJECT_NAME}/libs CACHE PATH "Missing description." FORCE) include(FetchContent) FetchContent_Declare( tomlplusplus GIT_REPOSITORY https://github.com/marzer/tomlplusplus.git GIT_TAG v3.1.0 ) FetchContent_MakeAvailable(tomlplusplus) add_executable(testProj testProj/src/main.cpp) target_link_libraries(testProj tomlplusplus)
- toml++: Header-Only TOML Config File Parser And Serializer For C++
-
What are some use cases of using shared_ptr in a single threaded program?
I use them in toml++ to store the path of the source document for all the data nodes parsed from that document. Storing it as a separate std::string allocation for every single object would have been very wasteful, and the alternative would have been to make an overall document class that owned everything, which I didn't want to do, so shared_ptr was a good compromise.
-
toml++ v3.1.0 released
Key links: - Homepage: https://marzer.github.io/tomlplusplus/ - Repository: https://github.com/marzer/tomlplusplus - "What is TOML?": https://toml.io/
-
What are some projects that taught you a lot?
toml++ was both my first 'public'/open-source project, and my first ever attempt at a parser. There's a few things I'd do differently now if I were to write it from scratch, but I've learned a lot along the way (particularly about making things build 'clean' on multiple platforms).
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?
toml11 - TOML for Modern C++
CPM.cmake - 📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.
Magic Enum C++ - Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
cmake-init-clang-on-windows - Using LLVM Clang on Windows with CMake
toml - Tom's Obvious, Minimal Language
cmake-init - The missing CMake project initializer
toml - Python lib for TOML
LMRTFY - Let Me Run That For You: A C++20 Thread Pool Library
json_test_data - Test data for nlohmann/json
Ecosystem - You play God
tree-sitter-html - HTML grammar for Tree-sitter
kangaru - 🦘 A dependency injection container for C++11, C++14 and later