mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
refactor: Clean up build config
This commit is contained in:
@@ -20,7 +20,7 @@ namespace swift::misc
|
||||
m_wordSize(CBuildConfig::buildWordSize()),
|
||||
m_exePath(QCoreApplication::applicationDirPath()),
|
||||
m_version(CBuildConfig::getVersionString()),
|
||||
m_compileInfo(CBuildConfig::compiledWithInfo()),
|
||||
m_compileInfo(CBuildConfig::compiledWithInfoShort()),
|
||||
m_platform(CBuildConfig::getPlatformString()),
|
||||
m_process(CProcessInfo::currentProcess())
|
||||
{
|
||||
|
||||
@@ -69,7 +69,6 @@ namespace swift::misc
|
||||
QString CSwiftDirectories::executableFilePath(const QString &executable)
|
||||
{
|
||||
Q_ASSERT_X(!executable.isEmpty(), Q_FUNC_INFO, "Missing executable file path");
|
||||
Q_ASSERT_X(CBuildConfig::isKnownExecutableName(executable), Q_FUNC_INFO, "Unknown exectuable");
|
||||
|
||||
QString s = CFileUtils::appendFilePaths(binDirectory(), executable);
|
||||
if (CBuildConfig::isRunningOnMacOSPlatform())
|
||||
|
||||
Reference in New Issue
Block a user