| 
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 |  |  | import qbs.base 1.0 | 
					
						
							| 
									
										
										
										
											2013-01-07 11:23:27 +01:00
										 |  |  | import qbs.fileinfo as FileInfo | 
					
						
							| 
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | import "../QtcPlugin.qbs" as QtcPlugin | 
					
						
							| 
									
										
										
										
											2012-09-05 11:01:43 +02:00
										 |  |  | import "../../../qbs/defaults.js" as Defaults | 
					
						
							| 
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | QtcPlugin { | 
					
						
							|  |  |  |     name: "CppTools" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-06-19 15:36:27 +08:00
										 |  |  |     Depends { name: "Qt.widgets" } | 
					
						
							| 
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 |  |  |     Depends { name: "Core" } | 
					
						
							| 
									
										
										
										
											2012-02-27 21:09:42 +02:00
										 |  |  |     Depends { name: "Find" } | 
					
						
							| 
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 |  |  |     Depends { name: "TextEditor" } | 
					
						
							|  |  |  |     Depends { name: "ProjectExplorer" } | 
					
						
							|  |  |  |     Depends { name: "Locator" } | 
					
						
							|  |  |  |     Depends { name: "CPlusPlus" } | 
					
						
							|  |  |  |     Depends { name: "LanguageUtils" } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     files: [ | 
					
						
							|  |  |  |         "abstracteditorsupport.cpp", | 
					
						
							|  |  |  |         "abstracteditorsupport.h", | 
					
						
							|  |  |  |         "commentssettings.cpp", | 
					
						
							|  |  |  |         "commentssettings.h", | 
					
						
							|  |  |  |         "completionsettingspage.cpp", | 
					
						
							|  |  |  |         "completionsettingspage.h", | 
					
						
							|  |  |  |         "completionsettingspage.ui", | 
					
						
							| 
									
										
										
										
											2012-09-30 13:50:31 +02:00
										 |  |  |         "cppchecksymbols.cpp", | 
					
						
							|  |  |  |         "cppchecksymbols.h", | 
					
						
							| 
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 |  |  |         "cppclassesfilter.cpp", | 
					
						
							|  |  |  |         "cppclassesfilter.h", | 
					
						
							|  |  |  |         "cppcodeformatter.cpp", | 
					
						
							|  |  |  |         "cppcodeformatter.h", | 
					
						
							|  |  |  |         "cppcodestylepreferences.cpp", | 
					
						
							|  |  |  |         "cppcodestylepreferences.h", | 
					
						
							|  |  |  |         "cppcodestylepreferencesfactory.cpp", | 
					
						
							| 
									
										
										
										
											2012-09-30 13:50:31 +02:00
										 |  |  |         "cppcodestylepreferencesfactory.h", | 
					
						
							| 
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 |  |  |         "cppcodestylesettings.cpp", | 
					
						
							|  |  |  |         "cppcodestylesettings.h", | 
					
						
							|  |  |  |         "cppcodestylesettingspage.cpp", | 
					
						
							|  |  |  |         "cppcodestylesettingspage.h", | 
					
						
							|  |  |  |         "cppcodestylesettingspage.ui", | 
					
						
							|  |  |  |         "cppcompletionassist.cpp", | 
					
						
							|  |  |  |         "cppcompletionassist.h", | 
					
						
							| 
									
										
										
										
											2012-09-30 13:50:31 +02:00
										 |  |  |         "cppcompletionassistprovider.cpp", | 
					
						
							|  |  |  |         "cppcompletionassistprovider.h", | 
					
						
							|  |  |  |         "cppcompletionsupport.cpp", | 
					
						
							|  |  |  |         "cppcompletionsupport.h", | 
					
						
							| 
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 |  |  |         "cppcurrentdocumentfilter.cpp", | 
					
						
							|  |  |  |         "cppcurrentdocumentfilter.h", | 
					
						
							|  |  |  |         "cppdoxygen.cpp", | 
					
						
							|  |  |  |         "cppdoxygen.h", | 
					
						
							|  |  |  |         "cppfilesettingspage.cpp", | 
					
						
							|  |  |  |         "cppfilesettingspage.h", | 
					
						
							|  |  |  |         "cppfilesettingspage.ui", | 
					
						
							|  |  |  |         "cppfindreferences.cpp", | 
					
						
							|  |  |  |         "cppfindreferences.h", | 
					
						
							|  |  |  |         "cppfunctionsfilter.cpp", | 
					
						
							|  |  |  |         "cppfunctionsfilter.h", | 
					
						
							|  |  |  |         "cpphighlightingsupport.cpp", | 
					
						
							|  |  |  |         "cpphighlightingsupport.h", | 
					
						
							| 
									
										
										
										
											2012-09-30 13:50:31 +02:00
										 |  |  |         "cpphighlightingsupportinternal.cpp", | 
					
						
							|  |  |  |         "cpphighlightingsupportinternal.h", | 
					
						
							| 
									
										
										
										
											2012-10-24 16:06:36 +02:00
										 |  |  |         "cppindexingsupport.cpp", | 
					
						
							|  |  |  |         "cppindexingsupport.h", | 
					
						
							| 
									
										
										
										
											2012-09-30 13:50:31 +02:00
										 |  |  |         "cpplocalsymbols.cpp", | 
					
						
							|  |  |  |         "cpplocalsymbols.h", | 
					
						
							| 
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 |  |  |         "cpplocatorfilter.cpp", | 
					
						
							|  |  |  |         "cpplocatorfilter.h", | 
					
						
							|  |  |  |         "cppmodelmanager.cpp", | 
					
						
							|  |  |  |         "cppmodelmanager.h", | 
					
						
							| 
									
										
										
										
											2013-04-02 11:52:31 +02:00
										 |  |  |         "cppmodelmanagerinterface.cpp", | 
					
						
							|  |  |  |         "cppmodelmanagerinterface.h", | 
					
						
							| 
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 |  |  |         "cppqtstyleindenter.cpp", | 
					
						
							|  |  |  |         "cppqtstyleindenter.h", | 
					
						
							| 
									
										
										
										
											2013-01-14 14:45:36 +01:00
										 |  |  |         "cpppointerdeclarationformatter.cpp", | 
					
						
							|  |  |  |         "cpppointerdeclarationformatter.h", | 
					
						
							| 
									
										
										
										
											2013-03-25 14:25:40 +01:00
										 |  |  |         "cppprojectfile.cpp", | 
					
						
							|  |  |  |         "cppprojectfile.h", | 
					
						
							| 
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 |  |  |         "cpprefactoringchanges.cpp", | 
					
						
							|  |  |  |         "cpprefactoringchanges.h", | 
					
						
							|  |  |  |         "cppsemanticinfo.cpp", | 
					
						
							|  |  |  |         "cppsemanticinfo.h", | 
					
						
							|  |  |  |         "cpptools_global.h", | 
					
						
							|  |  |  |         "cpptoolsconstants.h", | 
					
						
							|  |  |  |         "cpptoolseditorsupport.cpp", | 
					
						
							|  |  |  |         "cpptoolseditorsupport.h", | 
					
						
							|  |  |  |         "cpptoolsplugin.cpp", | 
					
						
							|  |  |  |         "cpptoolsplugin.h", | 
					
						
							|  |  |  |         "cpptoolsreuse.cpp", | 
					
						
							|  |  |  |         "cpptoolsreuse.h", | 
					
						
							|  |  |  |         "cpptoolssettings.cpp", | 
					
						
							|  |  |  |         "cpptoolssettings.h", | 
					
						
							|  |  |  |         "doxygengenerator.cpp", | 
					
						
							|  |  |  |         "doxygengenerator.h", | 
					
						
							|  |  |  |         "insertionpointlocator.cpp", | 
					
						
							|  |  |  |         "insertionpointlocator.h", | 
					
						
							|  |  |  |         "searchsymbols.cpp", | 
					
						
							|  |  |  |         "searchsymbols.h", | 
					
						
							|  |  |  |         "symbolfinder.cpp", | 
					
						
							|  |  |  |         "symbolfinder.h", | 
					
						
							|  |  |  |         "symbolsfindfilter.cpp", | 
					
						
							|  |  |  |         "symbolsfindfilter.h", | 
					
						
							| 
									
										
										
										
											2013-04-02 11:52:31 +02:00
										 |  |  |         "typehierarchybuilder.cpp", | 
					
						
							|  |  |  |         "typehierarchybuilder.h", | 
					
						
							| 
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 |  |  |         "uicodecompletionsupport.cpp", | 
					
						
							|  |  |  |         "uicodecompletionsupport.h", | 
					
						
							| 
									
										
										
										
											2012-11-27 12:26:42 +01:00
										 |  |  |         "builtinindexingsupport.cpp", | 
					
						
							|  |  |  |         "builtinindexingsupport.h" | 
					
						
							| 
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 |  |  |     ] | 
					
						
							| 
									
										
										
										
											2012-03-20 15:35:15 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-09-05 11:01:43 +02:00
										 |  |  |     Group { | 
					
						
							|  |  |  |         condition: Defaults.testsEnabled(qbs) | 
					
						
							| 
									
										
										
										
											2013-01-07 11:23:27 +01:00
										 |  |  |         files: [ | 
					
						
							|  |  |  |             "cppcodegen_test.cpp", | 
					
						
							|  |  |  |             "cppcompletion_test.cpp", | 
					
						
							|  |  |  |             "cppmodelmanager_test.cpp", | 
					
						
							| 
									
										
										
										
											2013-01-14 14:45:36 +01:00
										 |  |  |             "modelmanagertesthelper.cpp", "modelmanagertesthelper.h", | 
					
						
							|  |  |  |             "cpppointerdeclarationformatter_test.cpp" | 
					
						
							| 
									
										
										
										
											2013-01-07 11:23:27 +01:00
										 |  |  |         ] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         cpp.defines: outer.concat(['SRCDIR="' + FileInfo.path(filePath) + '"']) | 
					
						
							| 
									
										
										
										
											2012-09-05 11:01:43 +02:00
										 |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-03-20 15:35:15 +01:00
										 |  |  |     ProductModule { | 
					
						
							|  |  |  |         Depends { name: "CPlusPlus" } | 
					
						
							|  |  |  |     } | 
					
						
							| 
									
										
										
										
											2012-02-09 14:30:09 +01:00
										 |  |  | } |