add basic cmake support

This commit is contained in:
Eugene Shalygin
2015-11-06 19:03:18 +01:00
committed by Eugene Shalygin
parent 654c8edc6b
commit 64daecb266
26 changed files with 1242 additions and 0 deletions

15
src/config.h.cmakein Normal file
View File

@@ -0,0 +1,15 @@
#cmakedefine QBT_USES_QT5
#cmakedefine QBT_USE_GUI
#ifndef QBT_USE_GUI
#define DISABLE_GUI
#define DISABLE_COUNTRIES_RESOLUTION
#endif
#cmakedefine QBT_USE_WEBUI
#ifndef QBT_USE_WEBUI
#define DISABLE_WEBUI
#endif
#cmakedefine STACKTRACE_WIN