Add a config option allowing to disable SSL.

This commit is contained in:
Chunting Gu
2019-04-15 10:07:04 +08:00
parent d9509bda4a
commit 5e1b14e74d
7 changed files with 65 additions and 28 deletions
+7
View File
@@ -2,11 +2,18 @@
#define WEBCC_CONFIG_H_
// Compile configurations.
// This file is auto-generated by CMake during configuration
// from config.h.in.
// Set 1/0 to enable/disable logging.
#define WEBCC_ENABLE_LOG @WEBCC_ENABLE_LOG@
#if WEBCC_ENABLE_LOG
// 0:VERB, 1:INFO, 2:WARN, 3:ERRO or 4:FATA
#define WEBCC_LOG_LEVEL @WEBCC_LOG_LEVEL@
#endif
// Set 1/0 to enable/disable SSL/HTTPS.
#define WEBCC_ENABLE_SSL @WEBCC_ENABLE_SSL@
#endif // WEBCC_CONFIG_H_