Nav apraksta

namark 0061517f38 random semicolon... that inspires confidence... 1 mēnesi atpakaļ
make_templates 1ba0f41c8e The future is now! 3 mēneši atpakaļ
unit_tests 98152a8da5 WIP allinclude improvements, 2 gadi atpakaļ
.gitignore 0699c433cf Initial version of allinclude. 6 gadi atpakaļ
COPYRIGHT 4714efeca7 Another useless year -_- 3 mēneši atpakaļ
LICENSE 0af100b12e Initial commit 6 gadi atpakaļ
Makefile 1ba0f41c8e The future is now! 3 mēneši atpakaļ
README.md b3cd7c8b4b This is just a waste of time isn't it... 1 gadu atpakaļ
allinclude.cpp 0061517f38 random semicolon... that inspires confidence... 1 mēnesi atpakaļ

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.