TGViewer
C++ - Reddit C++ - Reddit @r_cpp · 229 subscribers
Post #24637 22
Looking for "real" C++ simple projects to be used as test data

As a study, I'm working on a C/C++ build system made from scratch but still use standard compilers/linkers like GCC or MSVC (think about a \*very\* simplified version of CMake)


I want to test it with some "real" (but simple) projects which meet these criteria:

* multiple source files (let's say minimum 10 sources files, maximum 100)
* build with CMake (for easy conversion to my own build system)
* no dependency (except system libraries, but do not depend on third parties)
* windows and/or linux
* produce some executable files which can be easily tested


My goal is to take these projects, build them, and check it the build is ok.


I've looked on Github, but all projects are really too simple (like a single source file) or really to too complex (like you need to build 2 or 3 other libraries before building the project).


I don't care about what the source code does : it can be anything, I just want some correct input for my build system.


Do you know any project that will be suitable for my use ?

https://redd.it/1q3s8hn
@r_cpp
Reddit From the cpp community on Reddit Explore this post and more from the cpp community
More from @r_cpp
  1. Oct 8, 2026Profiles for simplicity and guarantees - Bjarne Stroustrup - CppCon 2026 https://youtu.be/…
  2. Oct 8, 2026How to Fix autoconf-style Configuration Probing https://build2.org/blog/fix-autoconf.xhtml…
  3. Oct 8, 2026owl – a header-only C++23 HTTP framework where route patterns and handler extractors are c…
  4. Oct 8, 2026Removed by Reddit Removed by Reddit on account of violating the [content policy. ] https:/…
  5. Oct 8, 2026Is there a way to search across all P and N papers throughout standardization history? It…
  6. Oct 8, 2026CppCast Episode 412 : Safety and Interoperability with Rust and C++ https://cppcast.com/sa…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →