Code

Node tool: special case node duplication for endnodes - select new endnode
[inkscape.git] / src / CMakeLists.txt
index 6c4d475be53cf33898f5c9eb998007716778b30c..f03f22c803e237af7efb463905adfdc684ad7874 100644 (file)
 IF(WIN32)\r
     SET(ONLY_WIN\r
-    registrytool.cpp
-    registrytool.h\r
-    #deptool.cpp
+    registrytool.cpp\r
+    #deptool.cpp\r
     winmain.cpp)\r
 ELSEIF(WIN32)\r
     SET(ONLY_WIN)\r
 ENDIF(WIN32)\r
-SET(SP_SRC
-sp-anchor.cpp
-sp-anchor.h
-sp-animation.cpp
-sp-animation.h
-sp-clippath.cpp
-sp-clippath.h
-sp-conn-end.cpp
-sp-conn-end.h
-sp-conn-end-pair.cpp
-sp-conn-end-pair.h
-sp-cursor.cpp
-sp-cursor.h
-sp-defs.cpp
-sp-defs.h
-sp-ellipse.cpp
-sp-ellipse.h
-sp-feblend.cpp
-sp-feblend-fns.h
-sp-feblend.h
-sp-fecolormatrix.cpp
-sp-fecolormatrix-fns.h
-sp-fecolormatrix.h
-sp-fecomponenttransfer.cpp
-sp-fecomponenttransfer-fns.h
-sp-fecomponenttransfer-funcnode.cpp
-sp-fecomponenttransfer-funcnode.h
-sp-fecomponenttransfer.h
-sp-fecomposite.cpp
-sp-fecomposite-fns.h
-sp-fecomposite.h
-sp-feconvolvematrix.cpp
-sp-feconvolvematrix-fns.h
-sp-feconvolvematrix.h
-sp-fediffuselighting.cpp
-sp-fediffuselighting-fns.h
-sp-fediffuselighting.h
-sp-fedisplacementmap.cpp
-sp-fedisplacementmap-fns.h
-sp-fedisplacementmap.h
-sp-fedistantlight.cpp
-sp-fedistantlight.h
-sp-feflood.cpp
-sp-feflood-fns.h
-sp-feflood.h
-sp-feimage.cpp
-sp-feimage-fns.h
-sp-feimage.h
-sp-femerge.cpp
-sp-femerge-fns.h
-sp-femerge.h
-sp-femergenode.cpp
-sp-femergenode.h
-sp-femorphology.cpp
-sp-femorphology-fns.h
-sp-femorphology.h
-sp-feoffset.cpp
-sp-feoffset-fns.h
-sp-feoffset.h
-sp-fepointlight.cpp
-sp-fepointlight.h
-sp-fespecularlighting.cpp
-sp-fespecularlighting-fns.h
-sp-fespecularlighting.h
-sp-fespotlight.cpp
-sp-fespotlight.h
-sp-fetile.cpp
-sp-fetile-fns.h
-sp-fetile.h
-sp-feturbulence.cpp
-sp-feturbulence-fns.h
-sp-feturbulence.h
-sp-filter.cpp
-sp-filter-fns.h
-sp-filter.h
-sp-filter-primitive.cpp
-sp-filter-primitive.h
-sp-filter-reference.cpp
-sp-filter-reference.h
-sp-filter-units.h
-sp-flowdiv.cpp
-sp-flowdiv.h
-sp-flowregion.cpp
-sp-flowregion.h
-sp-flowtext.cpp
-sp-flowtext.h
-sp-font.cpp
-sp-font.h
-sp-font-face.cpp
-sp-font-face.h
-sp-gaussian-blur.cpp
-sp-gaussian-blur-fns.h
-sp-gaussian-blur.h
-sp-glyph.cpp
-sp-glyph.h
-sp-gradient.cpp
-sp-gradient-fns.h
-sp-gradient.h
-sp-gradient-reference.cpp
-sp-gradient-reference.h
-sp-gradient-spread.h
-#sp-gradient-test.h
-sp-gradient-units.h
-sp-gradient-vector.h
-sp-guide-attachment.h
-sp-guide-constraint.h
-sp-guide.cpp
-sp-guide.h
-sp-glyph-kerning.cpp
-sp-glyph-kerning.h
-sp-image.cpp
-sp-image.h
-spiral-context.cpp
-spiral-context.h
-sp-item.cpp
-sp-item-group.cpp
-sp-item-group.h
-sp-item.h
-sp-item-notify-moveto.cpp
-sp-item-notify-moveto.h
-sp-item-rm-unsatisfied-cns.cpp
-sp-item-rm-unsatisfied-cns.h
-sp-item-transform.cpp
-sp-item-transform.h
-sp-item-update-cns.cpp
-sp-item-update-cns.h
-sp-linear-gradient-fns.h
-sp-linear-gradient.h
-sp-line.cpp
-sp-line.h
-splivarot.cpp
-splivarot.h
-sp-lpe-item.cpp
-sp-lpe-item.h
-sp-marker-loc.h
-sp-mask.cpp
-sp-mask.h
-sp-metadata.cpp
-sp-metadata.h
-sp-metric.h
-sp-metrics.cpp
-sp-metrics.h
-sp-missing-glyph.cpp
-sp-missing-glyph.h
-sp-namedview.cpp
-sp-namedview.h
-sp-object.cpp
-sp-object-group.cpp
-sp-object-group.h
-sp-object.h
-sp-object-repr.cpp
-sp-object-repr.h
-sp-offset.cpp
-sp-offset.h
-sp-paint-server.cpp
-sp-paint-server.h
-sp-path.cpp
-sp-path.h
-sp-pattern.cpp
-sp-pattern.h
-sp-polygon.cpp
-sp-polygon.h
-sp-polyline.cpp
-sp-polyline.h
-sp-radial-gradient-fns.h
-sp-radial-gradient.h
-sp-rect.cpp
-sp-rect.h
-sp-root.cpp
-sp-root.h
-sp-shape.cpp
-sp-shape.h
-sp-skeleton.cpp
-sp-skeleton.h
-sp-spiral.cpp
-sp-spiral.h
-sp-star.cpp
-sp-star.h
-sp-stop-fns.h
-sp-stop.h
-sp-string.cpp
-sp-string.h
-sp-style-elem.cpp
-sp-style-elem.h
-#sp-style-elem-test.h
-sp-switch.cpp
-sp-switch.h
-sp-symbol.cpp
-sp-symbol.h
-sp-text.cpp
-sp-text.h
-sp-textpath.h
-sp-tref.cpp
-sp-tref.h
-sp-tref-reference.cpp
-sp-tref-reference.h
-sp-tspan.cpp
-sp-tspan.h
-sp-use.cpp
-sp-use.h
-sp-use-reference.cpp
-sp-use-reference.h
-)
+\r
+SET(SP_SRC\r
+sp-anchor.cpp\r
+sp-animation.cpp\r
+sp-clippath.cpp\r
+sp-conn-end.cpp\r
+sp-conn-end-pair.cpp\r
+sp-cursor.cpp\r
+sp-defs.cpp\r
+sp-ellipse.cpp\r
+sp-filter.cpp\r
+sp-filter-primitive.cpp\r
+sp-filter-reference.cpp\r
+sp-flowdiv.cpp\r
+sp-flowregion.cpp\r
+sp-flowtext.cpp\r
+sp-font.cpp\r
+sp-font-face.cpp\r
+sp-gaussian-blur.cpp\r
+sp-glyph.cpp\r
+sp-gradient.cpp\r
+sp-gradient-reference.cpp\r
+sp-guide.cpp\r
+sp-glyph-kerning.cpp\r
+sp-image.cpp\r
+spiral-context.cpp\r
+sp-item.cpp\r
+sp-item-group.cpp\r
+sp-item-notify-moveto.cpp\r
+sp-item-rm-unsatisfied-cns.cpp\r
+sp-item-transform.cpp\r
+sp-item-update-cns.cpp\r
+sp-line.cpp\r
+splivarot.cpp\r
+sp-lpe-item.cpp\r
+sp-mask.cpp\r
+sp-metadata.cpp\r
+sp-metrics.cpp\r
+sp-missing-glyph.cpp\r
+sp-namedview.cpp\r
+sp-object.cpp\r
+sp-object-group.cpp\r
+sp-object-repr.cpp\r
+sp-offset.cpp\r
+sp-paint-server.cpp\r
+sp-path.cpp\r
+sp-pattern.cpp\r
+sp-polygon.cpp\r
+sp-polyline.cpp\r
+sp-rect.cpp\r
+sp-root.cpp\r
+sp-shape.cpp\r
+sp-skeleton.cpp\r
+sp-spiral.cpp\r
+sp-star.cpp\r
+sp-stop.cpp\r
+sp-string.cpp\r
+sp-style-elem.cpp\r
+sp-switch.cpp\r
+sp-symbol.cpp\r
+sp-text.cpp\r
+sp-tref.cpp\r
+sp-tref-reference.cpp\r
+sp-tspan.cpp\r
+sp-use.cpp\r
+sp-use-reference.cpp\r
+)\r
 \r
 SET(INKSCAPE_SRC\r
-approx-equal.h
-arc-context.cpp
-arc-context.h
-attributes.cpp
-attributes.h
-#attributes-test.h
-axis-manip.cpp
-axis-manip.h
-bad-uri-exception.h
-box3d-context.cpp
-box3d-context.h
-box3d.cpp
-box3d.h
-box3d-side.cpp
-box3d-side.h
-color.cpp
-color.h
-color-profile.cpp
-color-profile-fns.h
-color-profile.h
-#color-profile-test.h
-color-rgba.h
-composite-undo-stack-observer.cpp
-composite-undo-stack-observer.h
-conditions.cpp
-conditions.h
-conn-avoid-ref.cpp
-conn-avoid-ref.h
-connection-pool.h
-connector-context.cpp
-connector-context.h
-console-output-undo-observer.cpp
-console-output-undo-observer.h
-context-fns.cpp
-context-fns.h
-decimal-round.h
-#deptool.cpp
-desktop-affine.cpp
-desktop-affine.h
-desktop.cpp
-desktop-events.cpp
-desktop-events.h
-desktop.h
-desktop-handles.cpp
-desktop-handles.h
-desktop-style.cpp
-desktop-style.h
-device-manager.cpp
-device-manager.h
-dir-util.cpp
-dir-util.h
-#dir-util-test.h
-document.cpp
-document.h
-document-private.h
-document-subset.cpp
-document-subset.h
-document-undo.cpp
-doxygen-main.cpp
-draw-anchor.cpp
-draw-anchor.h
-draw-context.cpp
-draw-context.h
-dropper-context.cpp
-dropper-context.h
-dyna-draw-context.cpp
-dyna-draw-context.h
-ege-adjustment-action.cpp
-ege-adjustment-action.h
-ege-color-prof-tracker.cpp
-ege-color-prof-tracker.h
-ege-output-action.cpp
-ege-output-action.h
-ege-select-one-action.cpp
-ege-select-one-action.h
-enums.h
-eraser-context.cpp
-eraser-context.h
-event-context.cpp
-event-context.h
-event.h
-event-log.cpp
-event-log.h
-extension
-extract-uri.cpp
-extract-uri.h
-#extract-uri-test.h
-file.cpp
-file.h
-fill-or-stroke.h
-filter-chemistry.cpp
-filter-chemistry.h
-filter-enums.cpp
-filter-enums.h
-fixes.cpp
-flood-context.cpp
-flood-context.h
-fontsize-expansion.cpp
-fontsize-expansion.h
-forward.h
-gc-alloc.h
-gc-anchored.cpp
-gc-anchored.h
-gc-core.h
-gc.cpp
-gc-finalized.cpp
-gc-finalized.h
-gc-managed.h
-gc-soft-ptr.h
-gradient-chemistry.cpp
-gradient-chemistry.h
-gradient-context.cpp
-gradient-context.h
-gradient-drag.cpp
-gradient-drag.h
-guide-snapper.cpp
-guide-snapper.h
-help.cpp
-helper-fns.h
-help.h
-icon-size.h
-ige-mac-menu.c
-ige-mac-menu.h
-ink-action.cpp
-ink-action.h
-inkscape.cpp
-inkscape.h
-inkscape-private.h
-inkscape.rc
-inkscape-stock.cpp
-inkscape-stock.h
-inkscape_version.h.mingw
-interface.cpp
-interface.h
-isinf.h
-isnan.h
-isnormal.h
-jabber_whiteboard
-knot.cpp
-knot-enums.h
-knot.h
-knotholder.cpp
-knot-holder-entity.h
-knotholder.h
-layer-fns.cpp
-layer-fns.h
-layer-manager.cpp
-layer-manager.h
-line-geometry.cpp
-line-geometry.h
-line-snapper.cpp
-line-snapper.h
-macros.h
-main-cmdlineact.cpp
-main-cmdlineact.h
-main.cpp
-marker.cpp
-marker.h
-media.cpp
-media.h
-memeq.h
-menus-skeleton.h
-message-context.cpp
-message-context.h
-message.h
-message-stack.cpp
-message-stack.h
-mod360.cpp
-mod360.h
-#mod360-test.h
-modifier-fns.h
-MultiPrinter.h
-node-context.cpp
-node-context.h
-nodepath.cpp
-nodepath.h
-number-opt-number.h
-object-edit.cpp
-object-edit.h
-object-hierarchy.cpp
-object-hierarchy.h
-object-snapper.cpp
-object-snapper.h
-path-chemistry.cpp
-path-chemistry.h
-path-prefix.h
-pencil-context.cpp
-pencil-context.h
-pen-context.cpp
-pen-context.h
-persp3d.cpp
-persp3d.h
-persp3d-reference.cpp
-persp3d-reference.h
-perspective-line.cpp
-perspective-line.h
-plugin.def
-preferences.cpp
-preferences.h
-preferences-skeleton.h
-prefix.cpp
-prefix.h
-prefs-utils.cpp
-prefs-utils.h
-print.cpp
-print.h
-profile-manager.cpp
-profile-manager.h
-proj_pt.cpp
-proj_pt.h
-PylogFormatter.h
-rect-context.cpp
-rect-context.h
-remove-last.h
-require-config.h
-round.h
-#round-test.h
-rubberband.cpp
-rubberband.h
-satisfied-guide-cns.cpp
-satisfied-guide-cns.h
-selcue.cpp
-selcue.h
-select-context.cpp
-select-context.h
-selection-chemistry.cpp
-selection-chemistry.h
-selection.cpp
-selection-describer.cpp
-selection-describer.h
-selection.h
-#selfname.tpl
-seltrans.cpp
-seltrans.h
-seltrans-handles.cpp
-seltrans-handles.h
-shape-editor.cpp
-shape-editor.h
-shortcuts.cpp
-shortcuts.h
-snap.cpp
-snap.h
-snapped-line.cpp
-snapped-line.h
-snapped-point.cpp
-snapped-point.h
-snapper.cpp
-snapper.h
-star-context.cpp
-star-context.h
-streams-gzip.cpp
-streams-gzip.h
-streams-handles.cpp
-streams-handles.h
-streams-jar.cpp
-streams-jar.h
-streams-zlib.cpp
-streams-zlib.h
-streq.h
-strneq.h
-style.cpp
-style.h
-#style-test.cpp
-#style-test.h
-svg-profile.h
-svg-view.cpp
-svg-view.h
-svg-view-widget.cpp
-svg-view-widget.h
-syseq.h
-#test-helpers.h
-text-chemistry.cpp
-text-chemistry.h
-text-context.cpp
-text-context.h
-text-editing.cpp
-text-editing.h
-text-tag-attributes.h
-tools-switch.cpp
-tools-switch.h
-transf_mat_3x4.cpp
-transf_mat_3x4.h
-TRPIFormatter.h
-tweak-context.cpp
-tweak-context.h
-undo-stack-observer.h
-unit-constants.h
-uri.cpp
-uri.h
-uri-references.cpp
-uri-references.h
-vanishing-point.cpp
-vanishing-point.h
-verbs.cpp
-verbs.h
-#verbs-test.h
-version.cpp
-version.h
-zoom-context.cpp
-zoom-context.h\r
+arc-context.cpp\r
+attributes.cpp\r
+axis-manip.cpp\r
+box3d-context.cpp\r
+box3d.cpp\r
+box3d-side.cpp\r
+color.cpp\r
+color-profile.cpp\r
+composite-undo-stack-observer.cpp\r
+common-context.cpp\r
+conditions.cpp\r
+conn-avoid-ref.cpp\r
+connection-points.cpp\r
+connector-context.cpp\r
+console-output-undo-observer.cpp\r
+context-fns.cpp\r
+#deptool.cpp\r
+desktop.cpp\r
+desktop-events.cpp\r
+desktop-handles.cpp\r
+desktop-style.cpp\r
+device-manager.cpp\r
+dir-util.cpp\r
+document.cpp\r
+document-subset.cpp\r
+document-undo.cpp\r
+doxygen-main.cpp\r
+draw-anchor.cpp\r
+draw-context.cpp\r
+dropper-context.cpp\r
+dyna-draw-context.cpp\r
+ege-adjustment-action.cpp\r
+ege-color-prof-tracker.cpp\r
+ege-output-action.cpp\r
+ege-select-one-action.cpp\r
+eraser-context.cpp\r
+event-context.cpp\r
+event-log.cpp\r
+extension\r
+extract-uri.cpp\r
+file.cpp\r
+filter-chemistry.cpp\r
+filter-enums.cpp\r
+fixes.cpp\r
+flood-context.cpp\r
+gc-anchored.cpp\r
+gc.cpp\r
+gc-finalized.cpp\r
+gradient-chemistry.cpp\r
+gradient-context.cpp\r
+gradient-drag.cpp\r
+guide-snapper.cpp\r
+help.cpp\r
+id-clash.cpp\r
+ige-mac-menu.c\r
+ink-action.cpp\r
+inkscape.cpp\r
+inkscape.rc\r
+inkscape-stock.cpp\r
+interface.cpp\r
+knot.cpp\r
+knotholder.cpp\r
+knot-holder-entity.cpp\r
+layer-fns.cpp\r
+layer-manager.cpp\r
+line-geometry.cpp\r
+line-snapper.cpp\r
+main-cmdlineact.cpp\r
+main.cpp\r
+marker.cpp\r
+media.cpp\r
+message-context.cpp\r
+message-stack.cpp\r
+mod360.cpp\r
+node-context.cpp\r
+nodepath.cpp\r
+object-edit.cpp\r
+object-hierarchy.cpp\r
+object-snapper.cpp\r
+path-chemistry.cpp\r
+pencil-context.cpp\r
+pen-context.cpp\r
+persp3d.cpp\r
+persp3d-reference.cpp\r
+perspective-line.cpp\r
+plugin.def\r
+preferences.cpp\r
+prefix.cpp\r
+print.cpp\r
+profile-manager.cpp\r
+proj_pt.cpp\r
+rect-context.cpp\r
+rubberband.cpp\r
+satisfied-guide-cns.cpp\r
+selcue.cpp\r
+select-context.cpp\r
+selection-chemistry.cpp\r
+selection.cpp\r
+selection-describer.cpp\r
+#selfname.tpl\r
+seltrans.cpp\r
+seltrans-handles.cpp\r
+shape-editor.cpp\r
+shortcuts.cpp\r
+snap.cpp\r
+snapped-line.cpp\r
+snapped-point.cpp\r
+snapper.cpp\r
+star-context.cpp\r
+style.cpp\r
+#style-test.cpp\r
+svg-view.cpp\r
+svg-view-widget.cpp\r
+text-chemistry.cpp\r
+text-context.cpp\r
+text-editing.cpp\r
+tools-switch.cpp\r
+transf_mat_3x4.cpp\r
+tweak-context.cpp\r
+uri.cpp\r
+uri-references.cpp\r
+vanishing-point.cpp\r
+verbs.cpp\r
+version.cpp\r
+zoom-context.cpp\r
 ${ONLY_WIN}\r
 )\r
-# All folder with CMakeLists.txt files (excluding internal libraries)\r
-SET(srcfolders\r
-algorithms\r
-api
-application\r
+# All folders for internal inkscape\r
+SET(internalfolders\r
+#algorithms\r
+#api\r
 bind\r
-debug
+debug\r
 dialogs\r
 display\r
 dom\r
-dom/io\r
-dom/odf\r
-dom/util\r
-#dom/work\r
 extension\r
-#extension/dxf2svg\r
-extension/implementation\r
-extension/internal
-extension/internal/bitmap
-extension/internal/filter
-extension/internal/pdfinput\r
-extension/param
-extension/script\r
+filters\r
 graphlayout\r
 helper\r
 inkjar\r
 io\r
 jabber_whiteboard\r
-jabber_whiteboard/dialog\r
 live_effects\r
-live_effects/parameter\r
 pedro\r
 removeoverlap\r
 svg\r
 trace\r
-trace/potrace\r
-traits\r
-ui/cache\r
+#traits\r
 ui\r
-ui/dialog\r
-ui/view\r
-ui/widget\r
-#utest\r
 util\r
 widgets\r
 xml\r
-)\r
-\r
-# 1) include each list file\r
-# 2) grab the variable inside \r
-# 3) prepend the full relative path to each file in list\r
-# 4) append the list to INKSCAPE_SRC\r
-FOREACH(dirlist ${srcfolders})\r
-  SET(_temp_dirlist "${dirlist}")\r
-  MESSAGE(STATUS "Processing ${CMAKE_CURRENT_SOURCE_DIR}/${dirlist}/CMakeLists.txt")\r
-  INCLUDE(${CMAKE_CURRENT_SOURCE_DIR}/${dirlist}/CMakeLists.txt)\r
-  SANITIZE_PATH(dirlist)\r
-  PREPEND(${dirlist}_SRC "${_temp_dirlist}/")\r
-  SET(INKSCAPE_SRC ${INKSCAPE_SRC} ${${dirlist}_SRC})\r
-ENDFOREACH(dirlist)\r
-\r
-SET(INKSCAPE_SRC ${INKSCAPE_SRC} ${GlibOutput})\r
-# All directories containing lists files that describe building internal libraries\r
-SET(libfolders
 2geom\r
+)\r
+SET(libfolders\r
+# Directories containing lists files that describe building internal libraries\r
 libavoid\r
 libcola\r
 libcroco\r
 libgdl\r
 libnr\r
 libnrtype\r
-libvpsc
+libvpsc\r
 livarot\r
 )\r
 \r
-FOREACH(dirlist ${libfolders})\r
-  ADD_SUBDIRECTORY(${dirlist})\r
-ENDFOREACH(dirlist)\r
-
-
-ADD_LIBRARY(sp STATIC ${SP_SRC})\r
+SET(dirs ${internalfolders} ${libfolders}\r
+)\r
+\r
+FOREACH(srclistsrc ${dirs})\r
+  ADD_SUBDIRECTORY(${srclistsrc})\r
+ENDFOREACH(srclistsrc)\r
 \r
+SET(INKSCAPE_SRC ${INKSCAPE_SRC} ${GlibOutput})\r
+\r
+ADD_LIBRARY(sp STATIC ${SP_SRC})\r
+TARGET_LINK_LIBRARIES(sp\r
+nr nrtype avoid cola croco gdl vpsc livarot ${internalfolders} ${INKSCAPE_LIBS}\r
+)\r
 # make executable for INKSCAPE\r
 ADD_EXECUTABLE(inkscape ${INKSCAPE_SRC})\r
 TARGET_LINK_LIBRARIES(inkscape\r
-       "${INKSCAPE_LINK_FLAGS}" 2geom avoid cola croco gdl nr nrtype vpsc livarot sp\r
-)
-
-# make executable for INKVIEW
-#ADD_EXECUTABLE(inkview inkview.cpp)
+nr nrtype sp avoid cola croco gdl vpsc livarot ${internalfolders} ${INKSCAPE_LIBS}\r
+)\r
+\r
+# make executable for INKVIEW\r
+#ADD_EXECUTABLE(inkview inkview.cpp)\r
 #TARGET_LINK_LIBRARIES(inkview\r
-#      "${INKSCAPE_LINK_FLAGS}" 2geom avoid cola croco gdl nr nrtype vpsc livarot sp\r
+#      2geom avoid cola croco gdl nr nrtype vpsc livarot sp ${internalfolders}\r
 #)\r
-
+\r