Link CBuildConfig and CVersion into static library blackconfig

CBuildConfig including private keys etc. should not be part of a
public library API. Therefore link it into a static library, which
is not available to end users.

refs #645
This commit is contained in:
Roland Winklmeier
2016-05-24 13:12:23 +02:00
parent 26a78ac2a6
commit 2d8f56a598
40 changed files with 135 additions and 86 deletions

View File

@@ -7,8 +7,8 @@
* contained in the LICENSE file.
*/
#include "blackconfig/buildconfig.h"
#include "blackcore/data/globalsetup.h"
#include "blackmisc/buildconfig.h"
#include "blackmisc/json.h"
#include "blackmisc/network/server.h"
#include "blackmisc/network/user.h"
@@ -17,6 +17,7 @@
#include <QJsonObject>
#include <QStringList>
using namespace BlackConfig;
using namespace BlackMisc;
using namespace BlackMisc::Json;
using namespace BlackMisc::Network;

View File

@@ -7,11 +7,12 @@
* contained in the LICENSE file.
*/
#include "blackconfig/buildconfig.h"
#include "blackcore/data/updateinfo.h"
#include "blackmisc/buildconfig.h"
#include <QStringList>
using namespace BlackConfig;
using namespace BlackMisc;
using namespace BlackMisc::Network;