5 # GENERATED BY ./gen_cmake_include_dirs
7 ${CMAKE_CURRENT_SOURCE_DIR}/commands
8 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib
9 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects
10 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/transforms
11 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools
12 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/flow
13 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/polygonal
14 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/rectangular
15 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection
16 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/text
17 ${CMAKE_CURRENT_SOURCE_DIR}/compat
18 ${CMAKE_CURRENT_SOURCE_DIR}/cursors
19 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs
20 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib
21 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/effects
22 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/transforms
23 ${CMAKE_CURRENT_SOURCE_DIR}/document
24 ${CMAKE_CURRENT_SOURCE_DIR}/environments
25 ${CMAKE_CURRENT_SOURCE_DIR}/environments/commands
26 ${CMAKE_CURRENT_SOURCE_DIR}/environments/dialogs
27 ${CMAKE_CURRENT_SOURCE_DIR}/environments/dialogs/imagelib
28 ${CMAKE_CURRENT_SOURCE_DIR}/environments/dialogs/imagelib/transforms
29 ${CMAKE_CURRENT_SOURCE_DIR}/environments/document
30 ${CMAKE_CURRENT_SOURCE_DIR}/environments/tools
31 ${CMAKE_CURRENT_SOURCE_DIR}/environments/tools/selection
32 ${CMAKE_CURRENT_SOURCE_DIR}/generic
33 ${CMAKE_CURRENT_SOURCE_DIR}/generic/widgets
34 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib
35 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects
36 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/transforms
37 ${CMAKE_CURRENT_SOURCE_DIR}/layers
38 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections
39 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image
40 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text
41 ${CMAKE_CURRENT_SOURCE_DIR}/layers/tempImage
42 ${CMAKE_CURRENT_SOURCE_DIR}/lgpl
43 ${CMAKE_CURRENT_SOURCE_DIR}/lgpl/generic
44 ${CMAKE_CURRENT_SOURCE_DIR}/lgpl/generic/widgets
45 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow
46 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx
47 ${CMAKE_CURRENT_SOURCE_DIR}/tools
48 ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow
49 ${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal
50 ${CMAKE_CURRENT_SOURCE_DIR}/tools/rectangular
51 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection
52 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/image
53 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text
54 ${CMAKE_CURRENT_SOURCE_DIR}/views
55 ${CMAKE_CURRENT_SOURCE_DIR}/views/manager
56 ${CMAKE_CURRENT_SOURCE_DIR}/widgets
57 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/colorSimilarity
58 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib
59 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects
60 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars
61 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options
69 add_subdirectory( pics )
72 ########### next target ###############
73 macro(CREATE_VERSION _in_FILE _out_FILE)
74 FILE(READ ${_in_FILE} _contents)
75 FILE(WRITE ${_out_FILE} "static const char * const kpVersionText =")
76 STRING(REGEX REPLACE "\n" "" _contents "${_contents}" )
77 FILE(APPEND ${_out_FILE} "${_contents}")
78 FILE(APPEND ${_out_FILE} ";\n")
79 endmacro(CREATE_VERSION)
82 #macro_additional_clean_files( ${CMAKE_CURRENT_BINARY_DIR}/kolourpaintversion.h )
84 create_version(${CMAKE_CURRENT_SOURCE_DIR}/VERSION ${CMAKE_CURRENT_BINARY_DIR}/kolourpaintversion.h)
87 macro(CREATE_LICENSE _in_FILE _out_FILE)
88 FILE(READ ${_in_FILE} _contents)
89 FILE(WRITE ${_out_FILE} "static const char * const kpLicenseText =")
90 STRING(REGEX REPLACE "\"" "\\\\\"" _contents "${_contents}" )
91 STRING(REGEX REPLACE "\n" "\\\\n\"\n\"" _contents "${_contents}" )
92 FILE(APPEND ${_out_FILE} "\"${_contents}\"")
93 FILE(APPEND ${_out_FILE} ";\n")
94 endmacro(CREATE_LICENSE)
96 #macro_additional_clean_files( ${CMAKE_CURRENT_BINARY_DIR}/kolourpaintlicense.h )
98 create_license(${CMAKE_CURRENT_SOURCE_DIR}/COPYING ${CMAKE_CURRENT_BINARY_DIR}/kolourpaintlicense.h)
101 # GENERATED BY ./gen_cmake_srcs | fgrep -v /lgpl/
103 if(CMAKE_MAJOR_VERSION MATCHES "2" AND CMAKE_MINOR_VERSION MATCHES "4" AND MINGW)
105 set(kolourpaint_lib1_SRCS
106 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectBalanceCommand.cpp
107 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectBlurSharpenCommand.cpp
108 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectClearCommand.cpp
109 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectCommandBase.cpp
110 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectEmbossCommand.cpp
111 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectFlattenCommand.cpp
112 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectGrayscaleCommand.cpp
113 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectHSVCommand.cpp
114 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectInvertCommand.cpp
115 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectReduceColorsCommand.cpp
116 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectToneEnhanceCommand.cpp
117 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/kpDocumentMetaInfoCommand.cpp
118 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/transforms/kpTransformFlipCommand.cpp
119 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/transforms/kpTransformResizeScaleCommand.cpp
120 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/transforms/kpTransformRotateCommand.cpp
121 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/transforms/kpTransformSkewCommand.cpp
122 ${CMAKE_CURRENT_SOURCE_DIR}/commands/kpCommand.cpp
123 ${CMAKE_CURRENT_SOURCE_DIR}/commands/kpCommandHistoryBase.cpp
124 ${CMAKE_CURRENT_SOURCE_DIR}/commands/kpCommandHistory.cpp
125 ${CMAKE_CURRENT_SOURCE_DIR}/commands/kpCommandSize.cpp
126 ${CMAKE_CURRENT_SOURCE_DIR}/commands/kpMacroCommand.cpp
127 ${CMAKE_CURRENT_SOURCE_DIR}/commands/kpNamedCommand.cpp
128 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/flow/kpToolFlowCommand.cpp
129 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/kpToolColorPickerCommand.cpp
130 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/kpToolFloodFillCommand.cpp
131 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/polygonal/kpToolPolygonalCommand.cpp
132 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/rectangular/kpToolRectangularCommand.cpp
133 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpAbstractSelectionContentCommand.cpp
134 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolImageSelectionTransparencyCommand.cpp
135 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolSelectionCreateCommand.cpp
136 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolSelectionDestroyCommand.cpp
137 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolSelectionMoveCommand.cpp
138 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolSelectionPullFromDocumentCommand.cpp
139 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolSelectionResizeScaleCommand.cpp
140 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/text/kpToolTextBackspaceCommand.cpp
141 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/text/kpToolTextChangeStyleCommand.cpp
142 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/text/kpToolTextDeleteCommand.cpp
143 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/text/kpToolTextEnterCommand.cpp
144 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/text/kpToolTextGiveContentCommand.cpp
145 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/text/kpToolTextInsertCommand.cpp
146 ${CMAKE_CURRENT_SOURCE_DIR}/compat/kpBug.cpp
147 ${CMAKE_CURRENT_SOURCE_DIR}/cursors/kpCursorLightCross.cpp
148 ${CMAKE_CURRENT_SOURCE_DIR}/cursors/kpCursorProvider.cpp
149 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/effects/kpEffectsDialog.cpp
150 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/kpDocumentMetaInfoDialog.cpp
151 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/transforms/kpTransformFlipDialog.cpp
152 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/transforms/kpTransformPreviewDialog.cpp
153 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/transforms/kpTransformResizeScaleDialog.cpp
154 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/transforms/kpTransformRotateDialog.cpp
155 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/transforms/kpTransformSkewDialog.cpp
156 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/kpColorSimilarityDialog.cpp
157 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/kpDocumentSaveOptionsPreviewDialog.cpp
158 ${CMAKE_CURRENT_SOURCE_DIR}/document/kpDocument.cpp
159 ${CMAKE_CURRENT_SOURCE_DIR}/document/kpDocument_Open.cpp
160 ${CMAKE_CURRENT_SOURCE_DIR}/document/kpDocument_Save.cpp
161 ${CMAKE_CURRENT_SOURCE_DIR}/document/kpDocumentSaveOptions.cpp
162 ${CMAKE_CURRENT_SOURCE_DIR}/document/kpDocument_Selection.cpp
163 ${CMAKE_CURRENT_SOURCE_DIR}/environments/commands/kpCommandEnvironment.cpp
164 ${CMAKE_CURRENT_SOURCE_DIR}/environments/dialogs/imagelib/transforms/kpTransformDialogEnvironment.cpp
165 ${CMAKE_CURRENT_SOURCE_DIR}/environments/document/kpDocumentEnvironment.cpp
166 ${CMAKE_CURRENT_SOURCE_DIR}/environments/kpEnvironmentBase.cpp
167 ${CMAKE_CURRENT_SOURCE_DIR}/environments/tools/kpToolEnvironment.cpp
168 ${CMAKE_CURRENT_SOURCE_DIR}/environments/tools/selection/kpToolSelectionEnvironment.cpp
169 ${CMAKE_CURRENT_SOURCE_DIR}/generic/kpAbstractScrollAreaUtils.cpp
170 ${CMAKE_CURRENT_SOURCE_DIR}/generic/kpSetOverrideCursorSaver.cpp
171 ${CMAKE_CURRENT_SOURCE_DIR}/generic/kpWidgetMapper.cpp
172 ${CMAKE_CURRENT_SOURCE_DIR}/generic/widgets/kpResizeSignallingLabel.cpp
173 ${CMAKE_CURRENT_SOURCE_DIR}/generic/widgets/kpSqueezedTextLabel.cpp
174 ${CMAKE_CURRENT_SOURCE_DIR}/generic/widgets/kpSubWindow.cpp
175 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectBalance.cpp
176 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectBlurSharpen.cpp
177 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectEmboss.cpp
178 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectFlatten.cpp
179 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectGrayscale.cpp
180 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectHSV.cpp
181 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectInvert.cpp
182 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectReduceColors.cpp
183 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectToneEnhance.cpp
184 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpColor_Constants.cpp
185 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpColor.cpp
186 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpDocumentMetaInfo.cpp
187 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpFloodFill.cpp
188 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpImage.cpp
189 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpPainter.cpp
190 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/transforms/kpTransformAutoCrop.cpp
191 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/transforms/kpTransformCrop.cpp
192 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/transforms/kpTransformCrop_ImageSelection.cpp
193 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/transforms/kpTransformCrop_TextSelection.cpp
194 ) # kolourpaint_lib1_SRCS
196 set(kolourpaint_lib2_SRCS
197 ${CMAKE_CURRENT_SOURCE_DIR}/kolourpaint.cpp
198 ${CMAKE_CURRENT_SOURCE_DIR}/kpThumbnail.cpp
199 ${CMAKE_CURRENT_SOURCE_DIR}/kpViewScrollableContainer.cpp
200 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpAbstractImageSelection.cpp
201 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpEllipticalImageSelection.cpp
202 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpFreeFormImageSelection.cpp
203 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpImageSelectionTransparency.cpp
204 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpRectangularImageSelection.cpp
205 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/kpAbstractSelection.cpp
206 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/kpSelectionDrag.cpp
207 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/kpSelectionFactory.cpp
208 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text/kpTextSelection.cpp
209 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text/kpTextSelection_Cursor.cpp
210 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text/kpTextSelection_Paint.cpp
211 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text/kpTextStyle.cpp
212 ${CMAKE_CURRENT_SOURCE_DIR}/layers/tempImage/kpTempImage.cpp
213 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Colors.cpp
214 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow.cpp
215 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Edit.cpp
216 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_File.cpp
217 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Help.cpp
218 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Image.cpp
219 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Settings.cpp
220 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_StatusBar.cpp
221 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Text.cpp
222 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Tools.cpp
223 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_View.cpp
224 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_View_Thumbnail.cpp
225 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_View_Zoom.cpp
226 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_AbstractDraw.cpp
227 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX.cpp
228 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_DrawRasterOps.cpp
229 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_DrawShapes.cpp
230 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_Effects.cpp
231 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_FormatConversion.cpp
232 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_GetSetPixmapParts.cpp
233 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_MaskOps.cpp
234 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_ScreenDepth.cpp
235 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_Transforms.cpp
236 ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolBrush.cpp
237 ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolColorEraser.cpp
238 ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolEraser.cpp
239 ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolFlowBase.cpp
240 ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolFlowPixmapBase.cpp
241 ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolPen.cpp
242 ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolSpraycan.cpp
243 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolAction.cpp
244 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolColorPicker.cpp
245 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool.cpp
246 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_Drawing.cpp
247 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolFloodFill.cpp
248 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_KeyboardEvents.cpp
249 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_MouseEvents.cpp
250 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_OtherEvents.cpp
251 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_UserNotifications.cpp
252 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_Utilities.cpp
253 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolZoom.cpp
254 ${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolCurve.cpp
255 ${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolLine.cpp
256 ${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolPolygonalBase.cpp
257 ${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolPolygon.cpp
258 ${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolPolyline.cpp
259 ${CMAKE_CURRENT_SOURCE_DIR}/tools/rectangular/kpToolEllipse.cpp
260 ${CMAKE_CURRENT_SOURCE_DIR}/tools/rectangular/kpToolRectangle.cpp
261 ${CMAKE_CURRENT_SOURCE_DIR}/tools/rectangular/kpToolRectangularBase.cpp
262 ${CMAKE_CURRENT_SOURCE_DIR}/tools/rectangular/kpToolRoundedRectangle.cpp
263 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/image/kpAbstractImageSelectionTool.cpp
264 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/image/kpAbstractImageSelectionTool_Transparency.cpp
265 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/image/kpToolEllipticalSelection.cpp
266 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/image/kpToolFreeFormSelection.cpp
267 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/image/kpToolRectSelection.cpp
268 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/kpAbstractSelectionTool.cpp
269 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/kpAbstractSelectionTool_Create.cpp
270 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/kpAbstractSelectionTool_KeyboardEvents.cpp
271 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/kpAbstractSelectionTool_Move.cpp
272 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/kpAbstractSelectionTool_ResizeScale.cpp
273 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_Commands.cpp
274 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText.cpp
275 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_Create.cpp
276 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_CursorCalc.cpp
277 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_InputMethodEvents.cpp
278 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_KeyboardEvents.cpp
279 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_KeyboardEvents_HandleArrowKeys.cpp
280 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_KeyboardEvents_HandleTypingKeys.cpp
281 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_Move.cpp
282 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_ResizeScale.cpp
283 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_SelectText.cpp
284 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_TextStyle.cpp
285 ) # kolourpaint_lib2_SRCS
288 ${CMAKE_CURRENT_SOURCE_DIR}/views/kpThumbnailView.cpp
289 ${CMAKE_CURRENT_SOURCE_DIR}/views/kpUnzoomedThumbnailView.cpp
290 ${CMAKE_CURRENT_SOURCE_DIR}/views/kpView.cpp
291 ${CMAKE_CURRENT_SOURCE_DIR}/views/kpView_Events.cpp
292 ${CMAKE_CURRENT_SOURCE_DIR}/views/kpView_Paint.cpp
293 ${CMAKE_CURRENT_SOURCE_DIR}/views/kpView_Selections.cpp
294 ${CMAKE_CURRENT_SOURCE_DIR}/views/kpZoomedThumbnailView.cpp
295 ${CMAKE_CURRENT_SOURCE_DIR}/views/kpZoomedView.cpp
296 ${CMAKE_CURRENT_SOURCE_DIR}/views/manager/kpViewManager.cpp
297 ${CMAKE_CURRENT_SOURCE_DIR}/views/manager/kpViewManager_TextCursor.cpp
298 ${CMAKE_CURRENT_SOURCE_DIR}/views/manager/kpViewManager_ViewUpdates.cpp
299 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/colorSimilarity/kpColorSimilarityCubeRenderer.cpp
300 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/colorSimilarity/kpColorSimilarityFrame.cpp
301 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/colorSimilarity/kpColorSimilarityHolder.cpp
302 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/colorSimilarity/kpColorSimilarityToolBarItem.cpp
303 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectBalanceWidget.cpp
304 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectBlurSharpenWidget.cpp
305 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectEmbossWidget.cpp
306 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectFlattenWidget.cpp
307 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectHSVWidget.cpp
308 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectInvertWidget.cpp
309 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectReduceColorsWidget.cpp
310 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectToneEnhanceWidget.cpp
311 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectWidgetBase.cpp
312 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpColorCells.cpp
313 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpColorPalette.cpp
314 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpDefaultColorCollection.cpp
315 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpDocumentSaveOptionsWidget.cpp
316 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpDualColorButton.cpp
317 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpPrintDialogPage.cpp
318 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpTransparentColorCell.cpp
319 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/kpColorToolBar.cpp
320 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/kpToolToolBar.cpp
321 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options/kpToolWidgetBase.cpp
322 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options/kpToolWidgetBrush.cpp
323 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options/kpToolWidgetEraserSize.cpp
324 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options/kpToolWidgetFillStyle.cpp
325 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options/kpToolWidgetLineWidth.cpp
326 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options/kpToolWidgetOpaqueOrTransparent.cpp
327 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options/kpToolWidgetSpraycanSize.cpp
330 ) # set(kolourpaint_SRCS
331 kde4_add_library(kolourpaint_lib1 STATIC ${kolourpaint_lib1_SRCS})
332 kde4_add_library(kolourpaint_lib2 STATIC ${kolourpaint_lib2_SRCS})
333 # doubled for the linker
334 set(mingw_libs kolourpaint_lib1 kolourpaint_lib2 kolourpaint_lib1 kolourpaint_lib2)
336 else(CMAKE_MAJOR_VERSION MATCHES "2" AND CMAKE_MINOR_VERSION MATCHES "4" AND MINGW)
340 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectBalanceCommand.cpp
341 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectBlurSharpenCommand.cpp
342 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectClearCommand.cpp
343 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectCommandBase.cpp
344 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectEmbossCommand.cpp
345 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectFlattenCommand.cpp
346 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectGrayscaleCommand.cpp
347 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectHSVCommand.cpp
348 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectInvertCommand.cpp
349 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectReduceColorsCommand.cpp
350 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/effects/kpEffectToneEnhanceCommand.cpp
351 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/kpDocumentMetaInfoCommand.cpp
352 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/transforms/kpTransformFlipCommand.cpp
353 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/transforms/kpTransformResizeScaleCommand.cpp
354 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/transforms/kpTransformRotateCommand.cpp
355 ${CMAKE_CURRENT_SOURCE_DIR}/commands/imagelib/transforms/kpTransformSkewCommand.cpp
356 ${CMAKE_CURRENT_SOURCE_DIR}/commands/kpCommand.cpp
357 ${CMAKE_CURRENT_SOURCE_DIR}/commands/kpCommandHistoryBase.cpp
358 ${CMAKE_CURRENT_SOURCE_DIR}/commands/kpCommandHistory.cpp
359 ${CMAKE_CURRENT_SOURCE_DIR}/commands/kpCommandSize.cpp
360 ${CMAKE_CURRENT_SOURCE_DIR}/commands/kpMacroCommand.cpp
361 ${CMAKE_CURRENT_SOURCE_DIR}/commands/kpNamedCommand.cpp
362 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/flow/kpToolFlowCommand.cpp
363 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/kpToolColorPickerCommand.cpp
364 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/kpToolFloodFillCommand.cpp
365 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/polygonal/kpToolPolygonalCommand.cpp
366 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/rectangular/kpToolRectangularCommand.cpp
367 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpAbstractSelectionContentCommand.cpp
368 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolImageSelectionTransparencyCommand.cpp
369 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolSelectionCreateCommand.cpp
370 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolSelectionDestroyCommand.cpp
371 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolSelectionMoveCommand.cpp
372 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolSelectionPullFromDocumentCommand.cpp
373 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/kpToolSelectionResizeScaleCommand.cpp
374 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/text/kpToolTextBackspaceCommand.cpp
375 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/text/kpToolTextChangeStyleCommand.cpp
376 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/text/kpToolTextDeleteCommand.cpp
377 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/text/kpToolTextEnterCommand.cpp
378 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/text/kpToolTextGiveContentCommand.cpp
379 ${CMAKE_CURRENT_SOURCE_DIR}/commands/tools/selection/text/kpToolTextInsertCommand.cpp
380 ${CMAKE_CURRENT_SOURCE_DIR}/compat/kpBug.cpp
381 ${CMAKE_CURRENT_SOURCE_DIR}/cursors/kpCursorLightCross.cpp
382 ${CMAKE_CURRENT_SOURCE_DIR}/cursors/kpCursorProvider.cpp
383 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/effects/kpEffectsDialog.cpp
384 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/kpDocumentMetaInfoDialog.cpp
385 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/transforms/kpTransformFlipDialog.cpp
386 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/transforms/kpTransformPreviewDialog.cpp
387 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/transforms/kpTransformResizeScaleDialog.cpp
388 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/transforms/kpTransformRotateDialog.cpp
389 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/imagelib/transforms/kpTransformSkewDialog.cpp
390 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/kpColorSimilarityDialog.cpp
391 ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/kpDocumentSaveOptionsPreviewDialog.cpp
392 ${CMAKE_CURRENT_SOURCE_DIR}/document/kpDocument.cpp
393 ${CMAKE_CURRENT_SOURCE_DIR}/document/kpDocument_Open.cpp
394 ${CMAKE_CURRENT_SOURCE_DIR}/document/kpDocument_Save.cpp
395 ${CMAKE_CURRENT_SOURCE_DIR}/document/kpDocumentSaveOptions.cpp
396 ${CMAKE_CURRENT_SOURCE_DIR}/document/kpDocument_Selection.cpp
397 ${CMAKE_CURRENT_SOURCE_DIR}/environments/commands/kpCommandEnvironment.cpp
398 ${CMAKE_CURRENT_SOURCE_DIR}/environments/dialogs/imagelib/transforms/kpTransformDialogEnvironment.cpp
399 ${CMAKE_CURRENT_SOURCE_DIR}/environments/document/kpDocumentEnvironment.cpp
400 ${CMAKE_CURRENT_SOURCE_DIR}/environments/kpEnvironmentBase.cpp
401 ${CMAKE_CURRENT_SOURCE_DIR}/environments/tools/kpToolEnvironment.cpp
402 ${CMAKE_CURRENT_SOURCE_DIR}/environments/tools/selection/kpToolSelectionEnvironment.cpp
403 ${CMAKE_CURRENT_SOURCE_DIR}/generic/kpAbstractScrollAreaUtils.cpp
404 ${CMAKE_CURRENT_SOURCE_DIR}/generic/kpSetOverrideCursorSaver.cpp
405 ${CMAKE_CURRENT_SOURCE_DIR}/generic/kpWidgetMapper.cpp
406 ${CMAKE_CURRENT_SOURCE_DIR}/generic/widgets/kpResizeSignallingLabel.cpp
407 ${CMAKE_CURRENT_SOURCE_DIR}/generic/widgets/kpSqueezedTextLabel.cpp
408 ${CMAKE_CURRENT_SOURCE_DIR}/generic/widgets/kpSubWindow.cpp
409 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectBalance.cpp
410 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectBlurSharpen.cpp
411 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectEmboss.cpp
412 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectFlatten.cpp
413 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectGrayscale.cpp
414 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectHSV.cpp
415 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectInvert.cpp
416 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectReduceColors.cpp
417 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/effects/kpEffectToneEnhance.cpp
418 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpColor_Constants.cpp
419 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpColor.cpp
420 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpDocumentMetaInfo.cpp
421 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpFloodFill.cpp
422 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpImage.cpp
423 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/kpPainter.cpp
424 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/transforms/kpTransformAutoCrop.cpp
425 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/transforms/kpTransformCrop.cpp
426 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/transforms/kpTransformCrop_ImageSelection.cpp
427 ${CMAKE_CURRENT_SOURCE_DIR}/imagelib/transforms/kpTransformCrop_TextSelection.cpp
428 ${CMAKE_CURRENT_SOURCE_DIR}/kolourpaint.cpp
429 ${CMAKE_CURRENT_SOURCE_DIR}/kpThumbnail.cpp
430 ${CMAKE_CURRENT_SOURCE_DIR}/kpViewScrollableContainer.cpp
431 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpAbstractImageSelection.cpp
432 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpEllipticalImageSelection.cpp
433 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpFreeFormImageSelection.cpp
434 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpImageSelectionTransparency.cpp
435 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/image/kpRectangularImageSelection.cpp
436 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/kpAbstractSelection.cpp
437 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/kpSelectionDrag.cpp
438 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/kpSelectionFactory.cpp
439 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text/kpTextSelection.cpp
440 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text/kpTextSelection_Cursor.cpp
441 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text/kpTextSelection_Paint.cpp
442 ${CMAKE_CURRENT_SOURCE_DIR}/layers/selections/text/kpTextStyle.cpp
443 ${CMAKE_CURRENT_SOURCE_DIR}/layers/tempImage/kpTempImage.cpp
444 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Colors.cpp
445 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow.cpp
446 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Edit.cpp
447 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_File.cpp
448 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Help.cpp
449 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Image.cpp
450 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Settings.cpp
451 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_StatusBar.cpp
452 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Text.cpp
453 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_Tools.cpp
454 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_View.cpp
455 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_View_Thumbnail.cpp
456 ${CMAKE_CURRENT_SOURCE_DIR}/mainWindow/kpMainWindow_View_Zoom.cpp
457 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_AbstractDraw.cpp
458 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX.cpp
459 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_DrawRasterOps.cpp
460 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_DrawShapes.cpp
461 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_Effects.cpp
462 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_FormatConversion.cpp
463 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_GetSetPixmapParts.cpp
464 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_MaskOps.cpp
465 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_ScreenDepth.cpp
466 ${CMAKE_CURRENT_SOURCE_DIR}/pixmapfx/kpPixmapFX_Transforms.cpp
467 ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolBrush.cpp
468 ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolColorEraser.cpp
469 ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolEraser.cpp
470 ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolFlowBase.cpp
471 ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolFlowPixmapBase.cpp
472 ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolPen.cpp
473 ${CMAKE_CURRENT_SOURCE_DIR}/tools/flow/kpToolSpraycan.cpp
474 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolAction.cpp
475 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolColorPicker.cpp
476 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool.cpp
477 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_Drawing.cpp
478 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolFloodFill.cpp
479 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_KeyboardEvents.cpp
480 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_MouseEvents.cpp
481 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_OtherEvents.cpp
482 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_UserNotifications.cpp
483 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpTool_Utilities.cpp
484 ${CMAKE_CURRENT_SOURCE_DIR}/tools/kpToolZoom.cpp
485 ${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolCurve.cpp
486 ${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolLine.cpp
487 ${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolPolygonalBase.cpp
488 ${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolPolygon.cpp
489 ${CMAKE_CURRENT_SOURCE_DIR}/tools/polygonal/kpToolPolyline.cpp
490 ${CMAKE_CURRENT_SOURCE_DIR}/tools/rectangular/kpToolEllipse.cpp
491 ${CMAKE_CURRENT_SOURCE_DIR}/tools/rectangular/kpToolRectangle.cpp
492 ${CMAKE_CURRENT_SOURCE_DIR}/tools/rectangular/kpToolRectangularBase.cpp
493 ${CMAKE_CURRENT_SOURCE_DIR}/tools/rectangular/kpToolRoundedRectangle.cpp
494 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/image/kpAbstractImageSelectionTool.cpp
495 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/image/kpAbstractImageSelectionTool_Transparency.cpp
496 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/image/kpToolEllipticalSelection.cpp
497 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/image/kpToolFreeFormSelection.cpp
498 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/image/kpToolRectSelection.cpp
499 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/kpAbstractSelectionTool.cpp
500 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/kpAbstractSelectionTool_Create.cpp
501 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/kpAbstractSelectionTool_KeyboardEvents.cpp
502 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/kpAbstractSelectionTool_Move.cpp
503 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/kpAbstractSelectionTool_ResizeScale.cpp
504 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_Commands.cpp
505 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText.cpp
506 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_Create.cpp
507 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_CursorCalc.cpp
508 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_InputMethodEvents.cpp
509 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_KeyboardEvents.cpp
510 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_KeyboardEvents_HandleArrowKeys.cpp
511 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_KeyboardEvents_HandleTypingKeys.cpp
512 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_Move.cpp
513 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_ResizeScale.cpp
514 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_SelectText.cpp
515 ${CMAKE_CURRENT_SOURCE_DIR}/tools/selection/text/kpToolText_TextStyle.cpp
516 ${CMAKE_CURRENT_SOURCE_DIR}/views/kpThumbnailView.cpp
517 ${CMAKE_CURRENT_SOURCE_DIR}/views/kpUnzoomedThumbnailView.cpp
518 ${CMAKE_CURRENT_SOURCE_DIR}/views/kpView.cpp
519 ${CMAKE_CURRENT_SOURCE_DIR}/views/kpView_Events.cpp
520 ${CMAKE_CURRENT_SOURCE_DIR}/views/kpView_Paint.cpp
521 ${CMAKE_CURRENT_SOURCE_DIR}/views/kpView_Selections.cpp
522 ${CMAKE_CURRENT_SOURCE_DIR}/views/kpZoomedThumbnailView.cpp
523 ${CMAKE_CURRENT_SOURCE_DIR}/views/kpZoomedView.cpp
524 ${CMAKE_CURRENT_SOURCE_DIR}/views/manager/kpViewManager.cpp
525 ${CMAKE_CURRENT_SOURCE_DIR}/views/manager/kpViewManager_TextCursor.cpp
526 ${CMAKE_CURRENT_SOURCE_DIR}/views/manager/kpViewManager_ViewUpdates.cpp
527 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/colorSimilarity/kpColorSimilarityCubeRenderer.cpp
528 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/colorSimilarity/kpColorSimilarityFrame.cpp
529 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/colorSimilarity/kpColorSimilarityHolder.cpp
530 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/colorSimilarity/kpColorSimilarityToolBarItem.cpp
531 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectBalanceWidget.cpp
532 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectBlurSharpenWidget.cpp
533 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectEmbossWidget.cpp
534 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectFlattenWidget.cpp
535 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectHSVWidget.cpp
536 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectInvertWidget.cpp
537 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectReduceColorsWidget.cpp
538 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectToneEnhanceWidget.cpp
539 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/imagelib/effects/kpEffectWidgetBase.cpp
540 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpColorCells.cpp
541 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpColorPalette.cpp
542 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpDefaultColorCollection.cpp
543 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpDocumentSaveOptionsWidget.cpp
544 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpDualColorButton.cpp
545 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpPrintDialogPage.cpp
546 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/kpTransparentColorCell.cpp
547 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/kpColorToolBar.cpp
548 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/kpToolToolBar.cpp
549 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options/kpToolWidgetBase.cpp
550 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options/kpToolWidgetBrush.cpp
551 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options/kpToolWidgetEraserSize.cpp
552 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options/kpToolWidgetFillStyle.cpp
553 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options/kpToolWidgetLineWidth.cpp
554 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options/kpToolWidgetOpaqueOrTransparent.cpp
555 ${CMAKE_CURRENT_SOURCE_DIR}/widgets/toolbars/options/kpToolWidgetSpraycanSize.cpp
558 ) # set(kolourpaint_SRCS
559 endif(CMAKE_MAJOR_VERSION MATCHES "2" AND CMAKE_MINOR_VERSION MATCHES "4" AND MINGW)
561 set(kolourpaint_lgpl_SRCS
562 ${CMAKE_CURRENT_SOURCE_DIR}/lgpl/generic/kpUrlFormatter.cpp
563 ${CMAKE_CURRENT_SOURCE_DIR}/lgpl/generic/kpColorCollection.cpp
564 ${CMAKE_CURRENT_SOURCE_DIR}/lgpl/generic/widgets/kpColorCellsBase.cpp
571 # This MUST be a dynamic link library to avoid LGPL license infection.
574 kde4_add_library(kolourpaint_lgpl SHARED ${kolourpaint_lgpl_SRCS})
576 target_link_libraries(kolourpaint_lgpl ${KDE4_KIO_LIBS})
577 set_target_properties(kolourpaint_lgpl PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} DEFINE_SYMBOL MAKE_KOLOURPAINT4_LGPL_LIB )
579 install(TARGETS kolourpaint_lgpl ${INSTALL_TARGETS_DEFAULT_ARGS} )
586 kde4_add_executable(kolourpaint ${kolourpaint_SRCS})
588 message(STATUS "$mingw_libs: ${mingw_libs}")
589 target_link_libraries(kolourpaint ${mingw_libs} ${KDE4_KIO_LIBS} ${KDE4_KUTILS_LIBS}
590 ${QT_QT3SUPPORT_LIBRARY} ${BLITZ_LIBRARIES} kolourpaint_lgpl)
592 install(TARGETS kolourpaint ${INSTALL_TARGETS_DEFAULT_ARGS})
595 ########### install files ###############
597 install(FILES kolourpaint.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
598 install(FILES kolourpaintui.rc DESTINATION ${DATA_INSTALL_DIR}/kolourpaint)