mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 12:55:31 +08:00
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:
@@ -4,17 +4,12 @@ QT += network dbus xml
|
||||
|
||||
TARGET = blackmisc
|
||||
TEMPLATE = lib
|
||||
CONFIG += c++11
|
||||
CONFIG += blackconfig
|
||||
|
||||
contains(BLACK_CONFIG, Static) {
|
||||
CONFIG += staticlib
|
||||
}
|
||||
|
||||
buildconfig.input = buildconfig.cpp.in
|
||||
buildconfig.output = $$DestRoot/buildconfig_gen.cpp
|
||||
GENERATED_SOURCES += $$DestRoot/buildconfig_gen.cpp
|
||||
QMAKE_SUBSTITUTES += buildconfig
|
||||
|
||||
INCLUDEPATH += ..
|
||||
# DEPENDPATH += . .. // BlackMisc should be independent
|
||||
# PRECOMPILED_HEADER = stdpch.h
|
||||
|
||||
Reference in New Issue
Block a user