forked from qt-creator/qt-creator
Clang: Fix release build
* The QtTest include is not available in release builds. * Make the batch file mode only available in debug/test builds as that one uses test utilities that are only available in debug builds. Change-Id: I441c51ec00b14b81a396ad0199882cf46fff10b0 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -41,12 +41,8 @@ QtcPlugin {
|
||||
"clangassistproposalitem.h",
|
||||
"clangassistproposalmodel.cpp",
|
||||
"clangassistproposalmodel.h",
|
||||
"clangautomationutils.cpp",
|
||||
"clangautomationutils.h",
|
||||
"clangbackendipcintegration.cpp",
|
||||
"clangbackendipcintegration.h",
|
||||
"clangbatchfileprocessor.cpp",
|
||||
"clangbatchfileprocessor.h",
|
||||
"clangcodemodel.qrc",
|
||||
"clangcodemodelplugin.cpp",
|
||||
"clangcodemodelplugin.h",
|
||||
@@ -102,6 +98,10 @@ QtcPlugin {
|
||||
condition: qtc.testsEnabled
|
||||
prefix: "test/"
|
||||
files: [
|
||||
"clangautomationutils.cpp",
|
||||
"clangautomationutils.h",
|
||||
"clangbatchfileprocessor.cpp",
|
||||
"clangbatchfileprocessor.h",
|
||||
"clangcodecompletion_test.cpp",
|
||||
"clangcodecompletion_test.h",
|
||||
"data/clangtestdata.qrc",
|
||||
|
||||
Reference in New Issue
Block a user