暫無描述

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

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.