Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 58bdd9e8b00c5c7f931004905e00129ac10fd960 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="ISO-8859-1"?>
<template type="ProjTempl" version="1.0" supplier="Eclipse.org" revision="1.0" author="Doug Schaefer"
		copyright="Copyright (c) 2013 QNX Software Systems and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html"
		id="QtHelloWorldProject" label="%QtHelloWorld.label" description="%QtHelloWorld.description" help="help.html">
		
	<property-group id="basics" label="%QtHelloWorld.basics.label" description="%QtHelloWorld.basics.description" type="PAGES-ONLY" help="help.html">
		<property id="qmake"
			label="%QtHelloWorld.qmake.label"
			description="%QtHelloWorld.qmake.description"
			type="browse"
			pattern=".*"
			default="qmake"
			hidden="false"
			persist="true"/>
	</property-group>
	
	<process type="org.eclipse.cdt.core.AddFiles">
		<simple name="projectName" value="$(projectName)"/>
		<complex-array name="files">
			<element>
				<simple name="source" value="Basename.cpp"/>
				<simple name="target" value="$(projectName).cpp"/>
				<simple name="replaceable" value="true"/>
			</element>
			<element>
				<simple name="source" value="Basename.qml"/>
				<simple name="target" value="$(projectName).qml"/>
				<simple name="replaceable" value="true"/>
			</element>
		</complex-array>
	</process>
	
	<process type="org.eclipse.cdt.core.AddFiles2">
		<simple name="projectName" value="$(projectName)"/>
		<simple name="startPattern" value="{{"/>
		<simple name="endPattern" value="}}"/>
		<complex-array name="files">
			<element>
				<simple name="source" value="Basename.pro"/>
				<simple name="target" value="$(projectName).pro"/>
				<simple name="replaceable" value="true"/>
			</element>
			<element>
				<simple name="source" value="Makefile"/>
				<simple name="target" value="Makefile"/>
				<simple name="replaceable" value="true"/>
			</element>
		</complex-array>
	</process>

	<process type="org.eclipse.cdt.ui.OpenFiles">
		<simple name="projectName" value="$(projectName)"/>
		<complex-array name="files">
			<element>
				<simple name="target" value="$(projectName).cpp"/>
			</element>
		</complex-array>
	</process>
	
	<process type="org.eclipse.cdt.core.AddNature">
		<simple name="projectName" value="$(projectName)"/>
		<simple name="natureId" value="org.eclipse.cdt.qt.core.qtNature"/>
	</process>

</template>

Back to the top