Code

now that selection description includes style (filtered, clipped), we need to update...
[inkscape.git] / src / CMakeLists.txt
index 062d4b6b1b5e96e052eab14094320c44e51b148e..32c1f241b8251c9e22b59cb7d0332db4a3031208 100644 (file)
@@ -203,8 +203,8 @@ ${ONLY_WIN}
 )\r
 # All folders for internal inkscape\r
 SET(internalfolders\r
-algorithms\r
-api\r
+#algorithms\r
+#api\r
 application\r
 bind\r
 debug\r
@@ -223,21 +223,15 @@ pedro
 removeoverlap\r
 svg\r
 trace\r
-traits\r
+#traits\r
 ui\r
 util\r
 widgets\r
 xml\r
+2geom\r
 )\r
-\r
-FOREACH(srclistsrc ${internalfolders})\r
-  ADD_SUBDIRECTORY(${srclistsrc})\r
-ENDFOREACH(srclistsrc)\r
-\r
-SET(INKSCAPE_SRC ${INKSCAPE_SRC} ${GlibOutput})\r
-# All directories containing lists files that describe building internal libraries\r
 SET(libfolders\r
-2geom\r
+# Directories containing lists files that describe building internal libraries\r
 libavoid\r
 libcola\r
 libcroco\r
@@ -248,24 +242,28 @@ libvpsc
 livarot\r
 )\r
 \r
-FOREACH(dirlistsrc ${libfolders})\r
-  ADD_SUBDIRECTORY(${dirlistsrc})\r
-ENDFOREACH(dirlistsrc)\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
-message(status "${INKSCAPE_LIBS}")\r
 ADD_LIBRARY(sp STATIC ${SP_SRC})\r
-TARGET_LINK_LIBRARIES(sp \r
-        2geom avoid cola croco gdl nr nrtype vpsc livarot\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
-        2geom avoid cola croco gdl nr nrtype vpsc livarot sp ${internalfolders}\r
+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 ${internalfolders}\r
+#      2geom avoid cola croco gdl nr nrtype vpsc livarot sp ${internalfolders}\r
 #)\r
 \r