Add config.h.in which produces the config.h on CMake configure.

This commit is contained in:
Chunting Gu
2018-11-20 17:04:47 +08:00
parent 964d21748a
commit 8c53b24bb7
6 changed files with 78 additions and 67 deletions
+12
View File
@@ -0,0 +1,12 @@
#ifndef WEBCC_CONFIG_H_
#define WEBCC_CONFIG_H_
// Compile configurations.
#define WEBCC_ENABLE_LOG @WEBCC_ENABLE_LOG@
#if WEBCC_ENABLE_LOG
#define WEBCC_LOG_LEVEL @WEBCC_LOG_LEVEL@
#endif
#endif // WEBCC_CONFIG_H_