aboutsummaryrefslogtreecommitdiff
path: root/tools/CurveEditor/project/script/CurveEditor.xml
blob: 9c1ded1d2ff2f453d6cdfcc30eb7c9d2fbd1b26f (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
<?xml version="1.0" encoding="utf-8"?>
<XPJ version="4">

<template name="commonBase">
	<FloatingPointModel>Fast</FloatingPointModel>
	<ExceptionHandling>Async</ExceptionHandling>
	<WarningLevel>3</WarningLevel>
	<DebugInformationFormat>Zi</DebugInformationFormat>
	<GenerateDebugInformation>true</GenerateDebugInformation>
	<CFlags>
	</CFlags>
	<LFlags>
		/SUBSYSTEM:WINDOWS
		/NOLOGO
	</LFlags>
	<Preprocessor type="define">
		UNICODE
		QT_DLL
		QT_CORE_LIB
		QT_GUI_LIB
		QT_XML_LIB
	</Preprocessor>
	<SearchPaths root="" type="header">		
		..\..\source
		${env:QTDIR}/../include
		.\GeneratedFiles
		.\GeneratedFiles\$(ConfigurationName)
	</SearchPaths>

	<SearchPaths root="" type="library">
		$(OutDir)
	</SearchPaths>
	<Libraries>
	</Libraries>
</template>

<template name="debugBase">
	<Preprocessor type="define">
		DEBUG
		_DEBUG
	</Preprocessor>
	<RuntimeLibrary>3</RuntimeLibrary>
	<Optimization>0</Optimization>
	<!--Optimization 0=disable, 1=MinSpace, 2=MaxSpeed, 3=full -->
	<WholeProgramOptimization>NoWholeProgramOptimization</WholeProgramOptimization>
	<LFlags>
	</LFlags>
	<Libraries>
		qtmaind.lib
		Qt5Cored.lib
		Qt5Guid.lib
		Qt5Widgetsd.lib
		Qt5Xmld.lib
	</Libraries>
</template>

<template name="releaseBase">
	<Preprocessor type="define">
		QT_NO_DEBUG
		NDEBUG
	</Preprocessor>
	<RuntimeLibrary>2</RuntimeLibrary>
	<Optimization>2</Optimization>
	<!--Optimization 0=disable, 1=MinSpace, 2=MaxSpeed, 3=full -->
	<WholeProgramOptimization>UseLinkTimeCodeGeneration</WholeProgramOptimization>
	<LFlags>
	</LFlags>
	<Libraries>
		qtmain.lib
		Qt5Core.lib
		Qt5Gui.lib
		Qt5Widgets.lib
		Qt5Xml.lib
	</Libraries>
</template>

<template name="win32Base">
	<apply-template name="commonBase"/>
	<Preprocessor type="define">
		WIN32
	</Preprocessor>
	<SearchPaths root="" type="library">
		$(OutDir)
		${env:QTDIR}/x86/lib
	</SearchPaths>
</template>

<template name="win64Base">
	<apply-template name="commonBase"/>
	<Preprocessor type="define">
		_WIN64
		WIN64
	</Preprocessor>
	<SearchPaths root="" type="library">
		$(OutDir)
		${env:QTDIR}/x64/lib
	</SearchPaths>
</template>
	
<Project name="CurveEditor">
<Export platform="multiple">..\${env:VS_STRING}</Export>

<Target name="CurveEditorTestApp">
	<Dependencies type="link">
		CurveEditor
	</Dependencies>
	<Preprocessor type="define">
	</Preprocessor>
	<Configuration name="default" type="exe" show="false">
		<OutDir>..\..\..\..\bin\${env:VC_VERSION}win$(PlatformArchitecture)</OutDir>
	    <INTDIR>..\..\..\..\obj\${env:VC_VERSION}win$(PlatformArchitecture)\$(Configuration)</INTDIR>
	</Configuration>

	<Configuration name="Debug" platform="Win32">
		<apply-template name="win32Base"/>
		<apply-template name="debugBase"/>
	    <OutFile>$(ProjectName).win32.d.exe</OutFile>
		<SearchPaths root="" type="library">
		</SearchPaths>
		<Libraries>
			CurveEditor.win32.d.lib
		</Libraries>
	</Configuration>

	<Configuration name="Debug" platform="win64">
		<apply-template name="win64Base"/>
		<apply-template name="debugBase"/>
	    <OutFile>$(ProjectName).win64.d.exe</OutFile>
		<SearchPaths root="" type="library">
		</SearchPaths>
		<Libraries>
			CurveEditor.win64.d.lib
		</Libraries>
	</Configuration>

	<Configuration name="Release" platform="Win32">
		<apply-template name="win32Base"/>
		<apply-template name="releaseBase"/>
	    <OutFile>$(ProjectName).win32.exe</OutFile>
		<SearchPaths root="" type="library">
		</SearchPaths>
		<Libraries>
			CurveEditor.win32.lib
		</Libraries>
	</Configuration>

	<Configuration name="Release" platform="win64">
		<apply-template name="win64Base"/>
		<apply-template name="releaseBase"/>
	    <OutFile>$(ProjectName).win64.exe</OutFile>
		<SearchPaths root="" type="library">
		</SearchPaths>
		<Libraries>
			CurveEditor.win64.lib
		</Libraries>
	</Configuration>

	<SearchPaths root="" type="header">
		..\Generated\CurveEditorTestApp\ui
		..\Generated\CurveEditorTestApp\$(PlatformName)
	</SearchPaths>
	
	<Files name="App\Form Files" root="..\..\source\GraphEditorTestApp">
		CurveEditorTestApp.ui
	</Files>
	
	<Files name="App\Window" root="..\..\source\GraphEditorTestApp">
		CurveEditorTestApp.cpp
		CurveEditorTestApp.h
	</Files>
	
	<Files name="App" root="..\..\source\GraphEditorTestApp">
		main.cpp
	</Files>
	
	<Files name="Generated" root="..\Generated\CurveEditorTestApp">
		ui/*.h
		moc/*.cpp
		qrc/*.cpp
	</Files>
	
	<Files name="Resource Files" root="..\..\source\GraphEditorTestApp">
		CurveEditorTestApp.qrc
	</Files>
	
	<PostBuildEvent>
		CALL ..\script\CurveEditor-PostBuild.bat $(OutDir) $(Platform) $(Configuration) ${env:QTDIR}
	</PostBuildEvent>
</Target>

<Target name="CurveEditor">
	<Libraries>
	</Libraries>
	<Configuration name="default" type="dll" show="false">
		<OutDir>..\..\..\..\bin\${env:VC_VERSION}win$(PlatformArchitecture)</OutDir>
	    <INTDIR>..\..\..\..\obj\${env:VC_VERSION}win$(PlatformArchitecture)\$(Configuration)</INTDIR>
		<Preprocessor type="define">
			CURVEEDITOR_LIB
		</Preprocessor>
	</Configuration>

	<Configuration name="Debug" platform="Win32">
		<apply-template name="win32Base"/>
		<apply-template name="debugBase"/>
	    <OutFile>$(ProjectName).win32.d.dll</OutFile>
		<SearchPaths root="" type="library">
		</SearchPaths>
	</Configuration>

	<Configuration name="Debug" platform="win64">
		<apply-template name="win64Base"/>
		<apply-template name="debugBase"/>
	    <OutFile>$(ProjectName).win64.d.dll</OutFile>
		<SearchPaths root="" type="library">
		</SearchPaths>
	</Configuration>

	<Configuration name="Release" platform="Win32">
		<apply-template name="win32Base"/>
		<apply-template name="releaseBase"/>
	    <OutFile>$(ProjectName).win32.dll</OutFile>
		<SearchPaths root="" type="library">
		</SearchPaths>
	</Configuration>

	<Configuration name="Release" platform="win64">
		<apply-template name="win64Base"/>
		<apply-template name="releaseBase"/>
	    <OutFile>$(ProjectName).win64.dll</OutFile>
		<SearchPaths root="" type="library">
		</SearchPaths>
	</Configuration>

	<SearchPaths root="" type="header">
		..\Generated\CurveEditor\UI
		..\Generated\CurveEditor\$(PlatformName)
	</SearchPaths>
	
	<Files name="Internal" root="..\..\source\Internal">
		Curve/*.h
		Curve/*.cpp
		UI/*.ui
		UI/Resources/CurveEditor.qrc
		Window/*.h
		Window/*.cpp
	</Files>
	
	<Files name="Public" root="..\..\source">
		*.h
	</Files>
	
	<Files name="Generated" root="..\Generated\CurveEditor">
		ui/*.h
		moc/*.cpp
		qrc/*.cpp
	</Files>
	
</Target>

</Project>

</XPJ>