From f90a674bb24f92b5f3fdf5d619b8383eb3d14502 Mon Sep 17 00:00:00 2001 From: Holger Fleischmann Date: Sun, 5 Jan 2020 21:16:36 +0100 Subject: [PATCH] automatic conditional include of file 'secret_credentils.h' --- src/credentials.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/credentials.cpp b/src/credentials.cpp index c02b5de..1f63e3d 100644 --- a/src/credentials.cpp +++ b/src/credentials.cpp @@ -1,7 +1,9 @@ #include "credentials.h" +#if __has_include("secret_credentials.h") // keep secret credentials in an external file that is never committed: -// #include "secret_credentials" +#include "secret_credentials.h" +#endif #ifndef _SECRET_CREDENTIALS