2014-03-11 11:30:14 +01:00
|
|
|
import qbs 1.0
|
2013-07-09 13:54:46 +02:00
|
|
|
import qbs.FileInfo
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2016-06-10 17:51:22 +02:00
|
|
|
Project {
|
2012-02-09 14:30:09 +01:00
|
|
|
name: "CppTools"
|
|
|
|
|
|
2016-06-10 17:51:22 +02:00
|
|
|
QtcDevHeaders { }
|
2014-02-10 13:02:33 +01:00
|
|
|
|
2016-06-10 17:51:22 +02:00
|
|
|
QtcPlugin {
|
|
|
|
|
Depends { name: "Qt.widgets" }
|
|
|
|
|
Depends { name: "CPlusPlus" }
|
|
|
|
|
Depends { name: "Utils" }
|
2012-02-09 14:30:09 +01:00
|
|
|
|
2016-06-10 17:51:22 +02:00
|
|
|
Depends { name: "Core" }
|
|
|
|
|
Depends { name: "TextEditor" }
|
|
|
|
|
Depends { name: "ProjectExplorer" }
|
|
|
|
|
Depends { name: "app_version_header" }
|
2015-03-04 09:25:08 +02:00
|
|
|
|
2016-06-10 17:51:22 +02:00
|
|
|
pluginTestDepends: [
|
|
|
|
|
"CppEditor",
|
|
|
|
|
"QmakeProjectManager",
|
|
|
|
|
]
|
Mute MSVC safety warnings
Botan:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xutility:2227:
warning: C4996: 'std::_Copy_impl': Function call with parameters that may be
unsafe - this call relies on the caller to check that the passed values are
correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See
documentation on how to use Visual C++ 'Checked Iterators'
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xutility:2212:
see declaration of 'std::_Copy_impl'
D:\dev\qt-creator\src\libs\3rdparty\botan\botan.cpp:7248: see reference
to function template instantiation
'_OutIt std::copy<const Botan::u32bit*,T*>(_InIt,_InIt,_OutIt)' being compiled
with
[
_OutIt=Botan::word *,
T=Botan::word,
_InIt=const Botan::u32bit *
]
CppTools:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xutility:2873:
warning: C4996: 'std::_Mismatch1': Function call with parameters that may be
unsafe - this call relies on the caller to check that the passed values are
correct. To disable this warning, use -D_SCL_SECURE_NO_WARNINGS. See
documentation on how to use Visual C++ 'Checked Iterators'
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\xutility:2856:
see declaration of 'std::_Mismatch1'
D:\dev\qt-creator\src\plugins\cpptools\symbolfinder.cpp:388: see reference to
function template instantiation 'std::pair<_Ty1,_Ty2>
std::mismatch<QString::const_iterator,QString::const_iterator>(_InIt1,_InIt1,_InIt2)'
being compiled
with
[
_Ty1=QString::const_iterator,
_Ty2=QString::const_iterator,
_InIt1=QString::const_iterator,
_InIt2=QString::const_iterator
]
Change-Id: I09a477e755c4555101b064271f10c08a69576e33
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-09-20 11:11:55 +02:00
|
|
|
|
2016-06-10 17:51:22 +02:00
|
|
|
cpp.defines: base
|
|
|
|
|
Properties {
|
|
|
|
|
condition: qbs.toolchain.contains("msvc")
|
|
|
|
|
cpp.defines: base.concat("_SCL_SECURE_NO_WARNINGS")
|
|
|
|
|
}
|
2012-03-20 15:35:15 +01:00
|
|
|
|
2013-01-07 11:23:27 +01:00
|
|
|
files: [
|
2016-06-10 17:51:22 +02:00
|
|
|
"abstracteditorsupport.cpp", "abstracteditorsupport.h",
|
|
|
|
|
"baseeditordocumentparser.cpp", "baseeditordocumentparser.h",
|
|
|
|
|
"baseeditordocumentprocessor.cpp", "baseeditordocumentprocessor.h",
|
|
|
|
|
"builtineditordocumentparser.cpp", "builtineditordocumentparser.h",
|
|
|
|
|
"builtineditordocumentprocessor.cpp", "builtineditordocumentprocessor.h",
|
|
|
|
|
"builtinindexingsupport.cpp", "builtinindexingsupport.h",
|
|
|
|
|
"clangdiagnosticconfig.cpp", "clangdiagnosticconfig.h",
|
|
|
|
|
"clangdiagnosticconfigsmodel.cpp", "clangdiagnosticconfigsmodel.h",
|
|
|
|
|
"clangdiagnosticconfigswidget.cpp", "clangdiagnosticconfigswidget.h",
|
|
|
|
|
"clangdiagnosticconfigswidget.ui",
|
|
|
|
|
"compileroptionsbuilder.cpp", "compileroptionsbuilder.h",
|
|
|
|
|
"cppchecksymbols.cpp", "cppchecksymbols.h",
|
|
|
|
|
"cppclassesfilter.cpp", "cppclassesfilter.h",
|
|
|
|
|
"cppcodeformatter.cpp", "cppcodeformatter.h",
|
|
|
|
|
"cppcodemodelinspectordumper.cpp", "cppcodemodelinspectordumper.h",
|
|
|
|
|
"cppcodemodelsettings.cpp", "cppcodemodelsettings.h",
|
|
|
|
|
"cppcodemodelsettingspage.cpp", "cppcodemodelsettingspage.h", "cppcodemodelsettingspage.ui",
|
|
|
|
|
"cppcodestylepreferences.cpp", "cppcodestylepreferences.h",
|
|
|
|
|
"cppcodestylepreferencesfactory.cpp", "cppcodestylepreferencesfactory.h",
|
|
|
|
|
"cppcodestylesettings.cpp", "cppcodestylesettings.h",
|
|
|
|
|
"cppcodestylesettingspage.cpp", "cppcodestylesettingspage.h", "cppcodestylesettingspage.ui",
|
|
|
|
|
"cppcompletionassist.cpp", "cppcompletionassist.h",
|
|
|
|
|
"cppcompletionassistprocessor.cpp", "cppcompletionassistprocessor.h",
|
|
|
|
|
"cppcompletionassistprovider.cpp", "cppcompletionassistprovider.h",
|
|
|
|
|
"cppcurrentdocumentfilter.cpp", "cppcurrentdocumentfilter.h",
|
|
|
|
|
"cppdoxygen.cpp", "cppdoxygen.h",
|
|
|
|
|
"cppeditoroutline.cpp", "cppeditoroutline.h",
|
|
|
|
|
"cppfileiterationorder.cpp", "cppfileiterationorder.h",
|
|
|
|
|
"cppfilesettingspage.cpp", "cppfilesettingspage.h", "cppfilesettingspage.ui",
|
|
|
|
|
"cppfindreferences.cpp", "cppfindreferences.h",
|
|
|
|
|
"cppfunctionsfilter.cpp", "cppfunctionsfilter.h",
|
|
|
|
|
"cppincludesfilter.cpp", "cppincludesfilter.h",
|
|
|
|
|
"cppindexingsupport.cpp", "cppindexingsupport.h",
|
2017-01-12 18:01:12 +01:00
|
|
|
"cpplanguage.h",
|
2016-06-10 17:51:22 +02:00
|
|
|
"cpplocalsymbols.cpp", "cpplocalsymbols.h",
|
|
|
|
|
"cpplocatordata.cpp", "cpplocatordata.h",
|
|
|
|
|
"cpplocatorfilter.cpp", "cpplocatorfilter.h",
|
|
|
|
|
"cppmodelmanager.cpp", "cppmodelmanager.h",
|
|
|
|
|
"cppmodelmanagersupport.cpp", "cppmodelmanagersupport.h",
|
|
|
|
|
"cppmodelmanagersupportinternal.cpp", "cppmodelmanagersupportinternal.h",
|
|
|
|
|
"cpppointerdeclarationformatter.cpp", "cpppointerdeclarationformatter.h",
|
|
|
|
|
"cppprojectfile.cpp", "cppprojectfile.h",
|
|
|
|
|
"cppqtstyleindenter.cpp", "cppqtstyleindenter.h",
|
|
|
|
|
"cpprefactoringchanges.cpp", "cpprefactoringchanges.h",
|
|
|
|
|
"cppselectionchanger.cpp", "cppselectionchanger.h",
|
|
|
|
|
"cppsemanticinfo.cpp", "cppsemanticinfo.h",
|
|
|
|
|
"cppsemanticinfoupdater.cpp", "cppsemanticinfoupdater.h",
|
|
|
|
|
"cppsourceprocessor.cpp", "cppsourceprocessor.h",
|
|
|
|
|
"cpptoolsbridge.cpp", "cpptoolsbridge.h",
|
|
|
|
|
"cpptoolsbridgeinterface.h",
|
|
|
|
|
"cpptoolsbridgeqtcreatorimplementation.cpp", "cpptoolsbridgeqtcreatorimplementation.h",
|
|
|
|
|
"cpptools.qrc",
|
|
|
|
|
"cpptools_global.h",
|
|
|
|
|
"cpptoolsconstants.h",
|
|
|
|
|
"cpptoolsjsextension.cpp", "cpptoolsjsextension.h",
|
|
|
|
|
"cpptoolsplugin.cpp", "cpptoolsplugin.h",
|
|
|
|
|
"cpptoolsreuse.cpp", "cpptoolsreuse.h",
|
|
|
|
|
"cpptoolssettings.cpp", "cpptoolssettings.h",
|
|
|
|
|
"cppworkingcopy.cpp", "cppworkingcopy.h",
|
|
|
|
|
"doxygengenerator.cpp", "doxygengenerator.h",
|
|
|
|
|
"editordocumenthandle.cpp", "editordocumenthandle.h",
|
|
|
|
|
"functionutils.cpp", "functionutils.h",
|
|
|
|
|
"generatedcodemodelsupport.cpp", "generatedcodemodelsupport.h",
|
|
|
|
|
"includeutils.cpp", "includeutils.h",
|
|
|
|
|
"indexitem.cpp", "indexitem.h",
|
|
|
|
|
"insertionpointlocator.cpp", "insertionpointlocator.h",
|
|
|
|
|
"projectinfo.cpp", "projectinfo.h",
|
|
|
|
|
"projectpart.cpp", "projectpart.h",
|
|
|
|
|
"projectpartbuilder.cpp", "projectpartbuilder.h",
|
|
|
|
|
"projectpartheaderpath.h",
|
|
|
|
|
"searchsymbols.cpp", "searchsymbols.h",
|
|
|
|
|
"semantichighlighter.cpp", "semantichighlighter.h",
|
|
|
|
|
"senddocumenttracker.cpp", "senddocumenttracker.h",
|
|
|
|
|
"stringtable.cpp", "stringtable.h",
|
|
|
|
|
"symbolfinder.cpp", "symbolfinder.h",
|
|
|
|
|
"symbolsfindfilter.cpp", "symbolsfindfilter.h",
|
|
|
|
|
"typehierarchybuilder.cpp", "typehierarchybuilder.h",
|
2016-11-29 13:01:51 +01:00
|
|
|
"cppprojectfilecategorizer.cpp", "cppprojectfilecategorizer.h",
|
2016-12-05 15:24:09 +01:00
|
|
|
"cppprojectinterface.h",
|
|
|
|
|
"cppbaseprojectpartbuilder.cpp", "cppbaseprojectpartbuilder.h",
|
2016-12-14 14:56:17 +01:00
|
|
|
"clangcompileroptionsbuilder.cpp", "clangcompileroptionsbuilder.h",
|
2016-12-16 13:10:43 +01:00
|
|
|
"cppprojectpartchooser.cpp", "cppprojectpartchooser.h",
|
2013-01-07 11:23:27 +01:00
|
|
|
]
|
|
|
|
|
|
2016-06-10 17:51:22 +02:00
|
|
|
Group {
|
|
|
|
|
name: "Tests"
|
|
|
|
|
condition: qtc.testsEnabled
|
|
|
|
|
files: [
|
|
|
|
|
"cppcodegen_test.cpp",
|
|
|
|
|
"cppcompletion_test.cpp",
|
|
|
|
|
"cppheadersource_test.cpp",
|
|
|
|
|
"cpplocalsymbols_test.cpp",
|
|
|
|
|
"cpplocatorfilter_test.cpp",
|
|
|
|
|
"cppmodelmanager_test.cpp",
|
|
|
|
|
"cpppointerdeclarationformatter_test.cpp",
|
|
|
|
|
"cppsourceprocessertesthelper.cpp", "cppsourceprocessertesthelper.h",
|
|
|
|
|
"cppsourceprocessor_test.cpp",
|
|
|
|
|
"cpptoolstestcase.cpp", "cpptoolstestcase.h",
|
|
|
|
|
"modelmanagertesthelper.cpp", "modelmanagertesthelper.h",
|
|
|
|
|
"symbolsearcher_test.cpp",
|
|
|
|
|
"typehierarchybuilder_test.cpp",
|
|
|
|
|
]
|
2012-09-05 11:01:43 +02:00
|
|
|
|
2016-06-10 17:51:22 +02:00
|
|
|
cpp.defines: outer.concat(['SRCDIR="' + FileInfo.path(filePath) + '"'])
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Export {
|
|
|
|
|
Depends { name: "CPlusPlus" }
|
|
|
|
|
Depends { name: "Qt.concurrent" }
|
|
|
|
|
}
|
2012-03-20 15:35:15 +01:00
|
|
|
}
|
2012-02-09 14:30:09 +01:00
|
|
|
}
|