diff options
| author | Joshua L. Blocher <verbalshadow@gmail.com> | 2008-04-27 22:31:54 +0000 |
|---|---|---|
| committer | verbalshadow <verbalshadow@users.sourceforge.net> | 2008-04-27 22:31:54 +0000 |
| commit | 008f6e229d4f2da76e608d6cc55a9b3ee72f64d3 (patch) | |
| tree | 87b635aa84c4de0954ab790657cf3d93170db09f /src | |
| parent | copyedit (diff) | |
| download | inkscape-008f6e229d4f2da76e608d6cc55a9b3ee72f64d3.tar.gz inkscape-008f6e229d4f2da76e608d6cc55a9b3ee72f64d3.zip | |
Cmake: added livarot as a lib, fixes problem with linking
(bzr r5532)
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | src/libnr/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/libnrtype/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/livarot/CMakeLists.txt | 39 |
4 files changed, 46 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d135dc04f..56526705c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -81,7 +81,8 @@ libcroco libgdl
libnr
libnrtype
-libvpsc
+libvpsc +livarot
)
FOREACH(dirlist ${libfolders})
@@ -305,7 +306,7 @@ ${ONLY_WIN} # make executable for INKSCAPE
ADD_EXECUTABLE(inkscape ${INKSCAPE_SRC})
TARGET_LINK_LIBRARIES(inkscape
- "${INKSCAPE_LINK_FLAGS}" 2geom avoid cola croco gdl nr nrtype vpsc
+ "${INKSCAPE_LINK_FLAGS}" 2geom avoid cola croco gdl nr nrtype vpsc livarot
)
#INSTALL(TARGETS INKSCAPE
# RUNTIME DESTINATION bin
diff --git a/src/libnr/CMakeLists.txt b/src/libnr/CMakeLists.txt index e1ec8bb69..9adfb1236 100644 --- a/src/libnr/CMakeLists.txt +++ b/src/libnr/CMakeLists.txt @@ -100,3 +100,5 @@ nr-values.h testnr.cpp
)
ADD_LIBRARY(nr STATIC ${libnr_SRC}) +TARGET_LINK_LIBRARIES(nr
+ "${INKSCAPE_LINK_FLAGS}" 2geom ) diff --git a/src/libnrtype/CMakeLists.txt b/src/libnrtype/CMakeLists.txt index ba5c40ca5..905fc44c3 100644 --- a/src/libnrtype/CMakeLists.txt +++ b/src/libnrtype/CMakeLists.txt @@ -35,3 +35,5 @@ TextWrapper.cpp TextWrapper.h
)
ADD_LIBRARY(nrtype STATIC ${libnrtype_SRC}) +TARGET_LINK_LIBRARIES(nrtype
+ "${INKSCAPE_LINK_FLAGS}" nr ) diff --git a/src/livarot/CMakeLists.txt b/src/livarot/CMakeLists.txt new file mode 100644 index 000000000..583863890 --- /dev/null +++ b/src/livarot/CMakeLists.txt @@ -0,0 +1,39 @@ +SET(livarot_SRC
+AlphaLigne.cpp +AlphaLigne.h +AVL.cpp +AVL.h +BitLigne.cpp +BitLigne.h +CMakeLists.txt +float-line.cpp +float-line.h +int-line.cpp +int-line.h +LivarotDefs.h +livarot-forward.h +Livarot.h +PathConversion.cpp +Path.cpp +PathCutting.cpp +path-description.cpp +path-description.h +Path.h +PathOutline.cpp +PathSimplify.cpp +PathStroke.cpp +Shape.cpp +ShapeDraw.cpp +Shape.h +ShapeMisc.cpp +ShapeRaster.cpp +ShapeSweep.cpp +sweep-event.cpp +sweep-event.h +sweep-event-queue.h +sweep-tree.cpp +sweep-tree.h +sweep-tree-list.cpp +sweep-tree-list.h
+)
+ADD_LIBRARY(livarot STATIC ${livarot_SRC}) |
