No Description

namark dd2012c99c This fixes the is_sorted assertion below, 5 days ago
make_templates e1edc7cbf2 Made unit tests optional for library make templates. 2 months ago
unit_tests 98152a8da5 WIP allinclude improvements, 1 year ago
.gitignore 0699c433cf Initial version of allinclude. 5 years ago
COPYRIGHT edf90f1570 Updated copyright and readme. 2 months ago
LICENSE 0af100b12e Initial commit 5 years ago
Makefile d0d1f7ad77 Updated the makefile. 2 months ago
README.md b3cd7c8b4b This is just a waste of time isn't it... 2 months ago
allinclude.cpp dd2012c99c This fixes the is_sorted assertion below, 5 days ago

README.md

cpp_tools

Here I collect tools I wrote for managing my c++ projects.

allinclude.cpp

Generate .h and .hpp include files that include everything from given directory and recursively for all its subdirectories. Each file prefers includes with corresponding extension, but will include the other if there is no choice. If the code looks super complicated, conceder that even in words I have real hard time explaining what this does. Basically sometimes I would put template declarations in an .h files, and corresponding definitions in an .hpp file, to allow for explicit specialization where it makes sense. Other times it could be just an .hpp file if there is no .cpp to speak of, or an .h if there is minimal or no exposure of templates to the user, no hard rules there. Combine that with desire to have an include for each directory in the source tree and with some deliberation you should arrive at the purpose of this program.

make_templates

As the name suggests - some Makefile templates. The filenames of individual templates are pretty self explanatory as well. They are ugly from inside though and probably break some conventions.