summaryrefslogtreecommitdiffstats
path: root/src/dom
diff options
context:
space:
mode:
authorAaron Spike <aaron@ekips.org>2008-04-10 04:48:40 +0000
committeracspike <acspike@users.sourceforge.net>2008-04-10 04:48:40 +0000
commit28698fb36cebc5d661f66f06b723a6c9fbcb351a (patch)
tree16176531940cc1ddc22ce0966e9abc05a2e7df15 /src/dom
parentreplace setting flags as variables with use of add_definitions() to avoid quo... (diff)
downloadinkscape-28698fb36cebc5d661f66f06b723a6c9fbcb351a.tar.gz
inkscape-28698fb36cebc5d661f66f06b723a6c9fbcb351a.zip
process source subdirectories with INCLUDE() instead of ADD_DIRECTORIES()
This more or less mimics what is being done by automake with the Makefile_insert files What we were doing before did not work because add_directories() isn't able to propagate variables upwards. (bzr r5397)
Diffstat (limited to 'src/dom')
-rw-r--r--src/dom/CMakeLists.txt16
-rw-r--r--src/dom/odf/CMakeLists.txt10
2 files changed, 2 insertions, 24 deletions
diff --git a/src/dom/CMakeLists.txt b/src/dom/CMakeLists.txt
index 5f0cea63b..503f9d0cc 100644
--- a/src/dom/CMakeLists.txt
+++ b/src/dom/CMakeLists.txt
@@ -18,20 +18,4 @@ xmlwriter.cpp
xpathimpl.cpp
xpathparser.cpp
xpathtoken.cpp
-${dom_io_SRC}
-${dom_odf_SRC}
-${dom_util_SRC}
-${dom_work_SRC}
)
-# Add New folders in src folder here
-SET(domfolders
-io
-odf
-util
-work
-)
-
-FOREACH(domdirlist ${domfolders})
-ADD_SUBDIRECTORY(${domdirlist})
-ENDFOREACH(domdirlist)
-
diff --git a/src/dom/odf/CMakeLists.txt b/src/dom/odf/CMakeLists.txt
index fd1e49b85..7a4b1ea4e 100644
--- a/src/dom/odf/CMakeLists.txt
+++ b/src/dom/odf/CMakeLists.txt
@@ -1,11 +1,5 @@
SET(dom_odf_SRC
-base64stream.cpp
-bufferstream.cpp
-domstream.cpp
-gzipstream.cpp
-httpclient.cpp
-socket.cpp
-stringstream.cpp
-uristream.cpp
+odfdocument.cpp
+SvgOdg.cpp
)