| 
									
										
										
										
											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: [ | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01: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", | 
					
						
							| 
									
										
										
										
											2017-05-24 13:23:01 +02:00
										 |  |  |             "builtincursorinfo.cpp", | 
					
						
							|  |  |  |             "builtincursorinfo.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "clangdiagnosticconfig.cpp", | 
					
						
							|  |  |  |             "clangdiagnosticconfig.h", | 
					
						
							|  |  |  |             "clangdiagnosticconfigsmodel.cpp", | 
					
						
							|  |  |  |             "clangdiagnosticconfigsmodel.h", | 
					
						
							|  |  |  |             "clangdiagnosticconfigswidget.cpp", | 
					
						
							|  |  |  |             "clangdiagnosticconfigswidget.h", | 
					
						
							| 
									
										
										
										
											2016-06-10 17:51:22 +02:00
										 |  |  |             "clangdiagnosticconfigswidget.ui", | 
					
						
							| 
									
										
										
										
											2017-11-02 16:26:17 +01:00
										 |  |  |             "clazychecks.ui", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "compileroptionsbuilder.cpp", | 
					
						
							|  |  |  |             "compileroptionsbuilder.h", | 
					
						
							| 
									
										
										
										
											2017-05-23 15:38:16 +02:00
										 |  |  |             "cppcanonicalsymbol.cpp", | 
					
						
							|  |  |  |             "cppcanonicalsymbol.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "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", | 
					
						
							| 
									
										
										
										
											2017-05-24 13:23:01 +02:00
										 |  |  |             "cppcursorinfo.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "cppcurrentdocumentfilter.cpp", | 
					
						
							|  |  |  |             "cppcurrentdocumentfilter.h", | 
					
						
							|  |  |  |             "cppdoxygen.cpp", | 
					
						
							|  |  |  |             "cppdoxygen.h", | 
					
						
							|  |  |  |             "cppeditoroutline.cpp", | 
					
						
							|  |  |  |             "cppeditoroutline.h", | 
					
						
							| 
									
										
										
										
											2017-09-18 10:19:27 +02:00
										 |  |  |             "cppeditorwidgetinterface.h", | 
					
						
							| 
									
										
										
										
											2018-01-11 17:06:26 +01:00
										 |  |  |             "cppelementevaluator.cpp", | 
					
						
							|  |  |  |             "cppelementevaluator.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "cppfileiterationorder.cpp", | 
					
						
							|  |  |  |             "cppfileiterationorder.h", | 
					
						
							|  |  |  |             "cppfilesettingspage.cpp", | 
					
						
							|  |  |  |             "cppfilesettingspage.h", | 
					
						
							|  |  |  |             "cppfilesettingspage.ui", | 
					
						
							|  |  |  |             "cppfindreferences.cpp", | 
					
						
							|  |  |  |             "cppfindreferences.h", | 
					
						
							| 
									
										
										
										
											2017-09-18 10:19:27 +02:00
										 |  |  |             "cppfollowsymbolundercursor.cpp", | 
					
						
							|  |  |  |             "cppfollowsymbolundercursor.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "cppfunctionsfilter.cpp", | 
					
						
							|  |  |  |             "cppfunctionsfilter.h", | 
					
						
							| 
									
										
										
										
											2018-01-11 17:06:26 +01:00
										 |  |  |             "cpphoverhandler.cpp", | 
					
						
							|  |  |  |             "cpphoverhandler.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "cppincludesfilter.cpp", | 
					
						
							|  |  |  |             "cppincludesfilter.h", | 
					
						
							|  |  |  |             "cppindexingsupport.cpp", | 
					
						
							|  |  |  |             "cppindexingsupport.h", | 
					
						
							|  |  |  |             "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", | 
					
						
							|  |  |  |             "cppprojectfilecategorizer.cpp", | 
					
						
							|  |  |  |             "cppprojectfilecategorizer.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 16:59:53 +01:00
										 |  |  |             "cppprojectinfogenerator.cpp", | 
					
						
							|  |  |  |             "cppprojectinfogenerator.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "cppprojectpartchooser.cpp", | 
					
						
							|  |  |  |             "cppprojectpartchooser.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 16:59:53 +01:00
										 |  |  |             "cppprojectupdater.cpp", | 
					
						
							|  |  |  |             "cppprojectupdater.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "cppqtstyleindenter.cpp", | 
					
						
							|  |  |  |             "cppqtstyleindenter.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 16:59:53 +01:00
										 |  |  |             "cpprawprojectpart.cpp", | 
					
						
							|  |  |  |             "cpprawprojectpart.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "cpprefactoringchanges.cpp", | 
					
						
							|  |  |  |             "cpprefactoringchanges.h", | 
					
						
							| 
									
										
										
										
											2017-09-18 11:29:55 +02:00
										 |  |  |             "cpprefactoringengine.cpp", | 
					
						
							|  |  |  |             "cpprefactoringengine.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "cppselectionchanger.cpp", | 
					
						
							|  |  |  |             "cppselectionchanger.h", | 
					
						
							|  |  |  |             "cppsemanticinfo.h", | 
					
						
							|  |  |  |             "cppsemanticinfoupdater.cpp", | 
					
						
							|  |  |  |             "cppsemanticinfoupdater.h", | 
					
						
							|  |  |  |             "cppsourceprocessor.cpp", | 
					
						
							|  |  |  |             "cppsourceprocessor.h", | 
					
						
							| 
									
										
										
										
											2016-06-10 17:51:22 +02:00
										 |  |  |             "cpptools.qrc", | 
					
						
							|  |  |  |             "cpptools_global.h", | 
					
						
							| 
									
										
										
										
											2017-01-17 15:27:31 +01:00
										 |  |  |             "cpptools_utils.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "cpptoolsbridge.cpp", | 
					
						
							|  |  |  |             "cpptoolsbridge.h", | 
					
						
							|  |  |  |             "cpptoolsbridgeinterface.h", | 
					
						
							|  |  |  |             "cpptoolsbridgeqtcreatorimplementation.cpp", | 
					
						
							|  |  |  |             "cpptoolsbridgeqtcreatorimplementation.h", | 
					
						
							| 
									
										
										
										
											2016-06-10 17:51:22 +02:00
										 |  |  |             "cpptoolsconstants.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "cpptoolsjsextension.cpp", | 
					
						
							|  |  |  |             "cpptoolsjsextension.h", | 
					
						
							|  |  |  |             "cpptoolsplugin.cpp", | 
					
						
							|  |  |  |             "cpptoolsplugin.h", | 
					
						
							|  |  |  |             "cpptoolsreuse.cpp", | 
					
						
							|  |  |  |             "cpptoolsreuse.h", | 
					
						
							|  |  |  |             "cpptoolssettings.cpp", | 
					
						
							|  |  |  |             "cpptoolssettings.h", | 
					
						
							| 
									
										
										
										
											2017-09-18 10:19:27 +02:00
										 |  |  |             "cppvirtualfunctionassistprovider.cpp", | 
					
						
							|  |  |  |             "cppvirtualfunctionassistprovider.h", | 
					
						
							|  |  |  |             "cppvirtualfunctionproposalitem.cpp", | 
					
						
							|  |  |  |             "cppvirtualfunctionproposalitem.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "cppworkingcopy.cpp", | 
					
						
							|  |  |  |             "cppworkingcopy.h", | 
					
						
							| 
									
										
										
										
											2017-08-03 14:13:42 +02:00
										 |  |  |             "cursorineditor.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "doxygengenerator.cpp", | 
					
						
							|  |  |  |             "doxygengenerator.h", | 
					
						
							|  |  |  |             "editordocumenthandle.cpp", | 
					
						
							|  |  |  |             "editordocumenthandle.h", | 
					
						
							| 
									
										
										
										
											2017-08-03 16:43:38 +02:00
										 |  |  |             "followsymbolinterface.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "functionutils.cpp", | 
					
						
							|  |  |  |             "functionutils.h", | 
					
						
							|  |  |  |             "generatedcodemodelsupport.cpp", | 
					
						
							|  |  |  |             "generatedcodemodelsupport.h", | 
					
						
							|  |  |  |             "includeutils.cpp", | 
					
						
							|  |  |  |             "includeutils.h", | 
					
						
							|  |  |  |             "indexitem.cpp", | 
					
						
							|  |  |  |             "indexitem.h", | 
					
						
							|  |  |  |             "insertionpointlocator.cpp", | 
					
						
							|  |  |  |             "insertionpointlocator.h", | 
					
						
							| 
									
										
										
										
											2017-09-11 15:16:43 +02:00
										 |  |  |             "wrappablelineedit.cpp", | 
					
						
							|  |  |  |             "wrappablelineedit.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "projectinfo.cpp", | 
					
						
							|  |  |  |             "projectinfo.h", | 
					
						
							|  |  |  |             "projectpart.cpp", | 
					
						
							|  |  |  |             "projectpart.h", | 
					
						
							| 
									
										
										
										
											2016-06-10 17:51:22 +02:00
										 |  |  |             "projectpartheaderpath.h", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "searchsymbols.cpp", | 
					
						
							|  |  |  |             "searchsymbols.h", | 
					
						
							|  |  |  |             "semantichighlighter.cpp", | 
					
						
							|  |  |  |             "semantichighlighter.h", | 
					
						
							|  |  |  |             "senddocumenttracker.cpp", | 
					
						
							|  |  |  |             "senddocumenttracker.h", | 
					
						
							|  |  |  |             "stringtable.cpp", | 
					
						
							|  |  |  |             "stringtable.h", | 
					
						
							|  |  |  |             "symbolfinder.cpp", | 
					
						
							|  |  |  |             "symbolfinder.h", | 
					
						
							|  |  |  |             "symbolsfindfilter.cpp", | 
					
						
							|  |  |  |             "symbolsfindfilter.h", | 
					
						
							| 
									
										
										
										
											2017-11-02 16:26:17 +01:00
										 |  |  |             "tidychecks.ui", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |             "typehierarchybuilder.cpp", | 
					
						
							|  |  |  |             "typehierarchybuilder.h", | 
					
						
							| 
									
										
										
										
											2017-10-04 12:52:31 +02:00
										 |  |  |             "usages.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", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |                 "cppsourceprocessertesthelper.cpp", | 
					
						
							|  |  |  |                 "cppsourceprocessertesthelper.h", | 
					
						
							| 
									
										
										
										
											2016-06-10 17:51:22 +02:00
										 |  |  |                 "cppsourceprocessor_test.cpp", | 
					
						
							| 
									
										
										
										
											2017-02-06 15:38:18 +01:00
										 |  |  |                 "cpptoolstestcase.cpp", | 
					
						
							|  |  |  |                 "cpptoolstestcase.h", | 
					
						
							|  |  |  |                 "modelmanagertesthelper.cpp", | 
					
						
							|  |  |  |                 "modelmanagertesthelper.h", | 
					
						
							| 
									
										
										
										
											2016-06-10 17:51:22 +02:00
										 |  |  |                 "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
										 |  |  | } |