Code

Cmake: Add simple CMakeLists.txt for 2geom and linking to inkscape
authorverbalshadow <verbalshadow@users.sourceforge.net>
Wed, 16 Apr 2008 05:18:55 +0000 (05:18 +0000)
committerverbalshadow <verbalshadow@users.sourceforge.net>
Wed, 16 Apr 2008 05:18:55 +0000 (05:18 +0000)
src/2geom/CMakeLists.txt [new file with mode: 0644]
src/CMakeLists.txt
src/extension/internal/CMakeLists.txt
src/pedro/CMakeLists.txt

diff --git a/src/2geom/CMakeLists.txt b/src/2geom/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f709319
--- /dev/null
@@ -0,0 +1,86 @@
+SET(2geom_SRC
+angle.h
+basic-intersection.cpp
+basic-intersection.h
+bezier.h
+bezier-to-sbasis.h
+bezier-utils.cpp
+bezier-utils.h
+choose.h
+circle-circle.cpp
+circulator.h
+concepts.h
+conjugate_gradient.cpp
+conjugate_gradient.h
+convex-cover.cpp
+convex-cover.h
+coord.h
+crossing.cpp
+crossing.h
+d2.h
+d2-sbasis.cpp
+d2-sbasis.h
+exception.h
+geom.cpp
+geom.h
+interval.h
+isnan.h
+linear.h
+makefile.in
+Makefile_insert
+matrix.cpp
+matrix.h
+ord.h
+path.cpp
+path.h
+path-intersection.cpp
+path-intersection.h
+piecewise.cpp
+piecewise.h
+point.cpp
+point.h
+point-l.h
+point-ops.h
+poly.cpp
+poly-dk-solve.cpp
+poly-dk-solve.h
+poly.h
+poly-laguerre-solve.cpp
+poly-laguerre-solve.h
+quadtree.cpp
+quadtree.h
+rect.h
+region.cpp
+region.h
+sbasis-2d.cpp
+sbasis-2d.h
+sbasis.cpp
+sbasis-geometric.cpp
+sbasis-geometric.h
+sbasis.h
+sbasis-math.cpp
+sbasis-math.h
+sbasis-poly.cpp
+sbasis-poly.h
+sbasis-roots.cpp
+sbasis-to-bezier.cpp
+sbasis-to-bezier.h
+shape.cpp
+shape.h
+solve-bezier-one-d.cpp
+solve-bezier-parametric.cpp
+solver.h
+sturm.h
+svg-elliptical-arc.cpp
+svg-path.cpp
+svg-path.h
+svg-path-parser.cpp
+svg-path-parser.h
+sweep.cpp
+sweep.h
+transforms.cpp
+transforms.h
+utils.h
+)
+
+ADD_LIBRARY(2geom STATIC ${2geom_SRC})
index 4a31b58df91cb178adc035ba8a0a78ca309d20a0..75d741103ab2d5e445f3f2a75fad565bc46adcb6 100644 (file)
@@ -39,7 +39,7 @@ jabber_whiteboard
 jabber_whiteboard/dialog\r
 live_effects\r
 live_effects/parameter\r
-pedro\r
+#pedro\r
 removeoverlap\r
 svg\r
 trace\r
@@ -71,7 +71,8 @@ ENDFOREACH(dirlist)
 \r
 \r
 # All directories containing lists files that describe building internal libraries\r
-SET(libfolders\r
+SET(libfolders
+2geom\r
 application\r
 dialogs\r
 libavoid\r
@@ -304,7 +305,7 @@ ${ONLY_WIN}
 # make executable for INKSCAPE\r
 ADD_EXECUTABLE(inkscape ${INKSCAPE_SRC})\r
 TARGET_LINK_LIBRARIES(inkscape\r
-       "${INKSCAPE_LINK_FLAGS}" avoid cola croco gdl nr nrtype vpsc\r
+       "${INKSCAPE_LINK_FLAGS}" 2geom avoid cola croco gdl nr nrtype vpsc\r
 )\r
 #INSTALL(TARGETS INKSCAPE\r
 #  RUNTIME DESTINATION bin\r
index 7125d2e1c46de555979b9c5d08242d3ac99ee936..1ed68269a3b8e748b6204264deece08114501207 100644 (file)
@@ -1,3 +1,8 @@
+IF(WIN32)
+SET(EXT_INT_WIN
+win32.cpp)
+ENDIF(WIN32)
+
 SET(extension_internal_SRC
 bluredge.cpp
 cairo-pdf-out.cpp
@@ -22,6 +27,6 @@ ps.cpp
 ps-out.cpp
 svg.cpp
 svgz.cpp
-win32.cpp
+${EXT_INT_WIN}
 wpg-input.cpp
 )
index fc584022a34f73e5eeed8babed1f37de4fb3d061..c3cdeb3cd4e634f82e29767382fce5de9056a80c 100644 (file)
@@ -1,16 +1,17 @@
 SET(pedro_SRC
-#empty.cpp
-#geckoembed.cpp
-#geckoembed.h
+empty.cpp
+geckoembed.cpp
+geckoembed.h
 pedroconfig.cpp
 pedroconfig.h
 pedrodom.cpp
 pedrodom.h
-#pedrogui.cpp
-#pedrogui.h
-#pedromain.cpp
+pedrogui.cpp
+pedrogui.h
+pedromain.cpp
 pedroutil.cpp
 pedroutil.h
 pedroxmpp.cpp
 pedroxmpp.h
-)
\ No newline at end of file
+)
+#ADD_LIBRARY(pedro STATIC ${pedro_SRC})