From 21d1e350a3b22ba690553f8371714fd9e896c7c8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 29 Oct 2020 13:35:22 +0100 Subject: Move implementation source files to a conventional src directory I think this attempt to be optionally header-only was misguided, particularly installing source code to the system include path. Typically anyone vendoring code just includes the repository and builds from there anyway. This commit moves all the implementation code to a typical src directory (Don't Be Weird). I still think there is some value in simple "inline" deployment, but that would be better achieved another way, like producing a single-file amalgamation that builds anywhere, ala sqlite. --- src/.clang-tidy | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/.clang-tidy (limited to 'src/.clang-tidy') diff --git a/src/.clang-tidy b/src/.clang-tidy new file mode 100644 index 0000000..7bc36f7 --- /dev/null +++ b/src/.clang-tidy @@ -0,0 +1,12 @@ +Checks: > + *, + -*-uppercase-literal-suffix, + -*magic-numbers, + -bugprone-suspicious-string-compare, + -cert-flp30-c, + -clang-analyzer-security.FloatLoopCounter, + -hicpp-multiway-paths-covered, + -hicpp-signed-bitwise, + -readability-else-after-return, +FormatStyle: file +HeaderFilterRegex: 'pugl/.*' -- cgit v1.2.1