mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45: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:
23
src/blackconfig/blackconfig.pro
Normal file
23
src/blackconfig/blackconfig.pro
Normal file
@@ -0,0 +1,23 @@
|
||||
load(common_pre)
|
||||
|
||||
TARGET = blackconfig
|
||||
TEMPLATE = lib
|
||||
CONFIG += staticlib
|
||||
|
||||
buildconfig_gen.input = buildconfig_gen.cpp.in
|
||||
buildconfig_gen.output = $$DestRoot/buildconfig_gen.cpp
|
||||
GENERATED_SOURCES += $$DestRoot/buildconfig_gen.cpp
|
||||
QMAKE_SUBSTITUTES += buildconfig_gen
|
||||
|
||||
INCLUDEPATH += ..
|
||||
precompile_header:!isEmpty(PRECOMPILED_HEADER) {
|
||||
DEFINES += USING_PCH
|
||||
}
|
||||
|
||||
DEFINES += LOG_IN_FILE
|
||||
HEADERS += *.h
|
||||
SOURCES += *.cpp
|
||||
DESTDIR = $$DestRoot/lib
|
||||
OTHER_FILES += buildconfig_gen.cpp.in
|
||||
|
||||
load(common_post)
|
||||
Reference in New Issue
Block a user