mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-08 18:55:36 +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:
@@ -15,14 +15,14 @@
|
||||
*/
|
||||
|
||||
#include "testlibrarypath.h"
|
||||
#include "blackconfig/buildconfig.h"
|
||||
#include "blackmisc/librarypath.h"
|
||||
#include "blackmisc/buildconfig.h"
|
||||
|
||||
namespace BlackMiscTest
|
||||
{
|
||||
void CTestLibraryPath::libraryPath()
|
||||
{
|
||||
if (!BlackMisc::CBuildConfig::isRunningOnWindowsNtPlatform()) { return; }
|
||||
if (!BlackConfig::CBuildConfig::isRunningOnWindowsNtPlatform()) { return; }
|
||||
|
||||
auto emptyPath = BlackMisc::getCustomLibraryPath();
|
||||
QVERIFY2(emptyPath.isEmpty(), "Default path should be empty");
|
||||
|
||||
Reference in New Issue
Block a user