summaryrefslogtreecommitdiffstats
path: root/src/dom
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-06-12 18:27:29 +0000
committerCampbell Barton <ideasman42@gmail.com>2011-06-12 18:27:29 +0000
commit0ddedab9c6185028661dcaaac9f6fbca4c9e93fc (patch)
treebbc7867e964a5b358b7b144df7c434941f7f06bf /src/dom
parentsupport python3.x for other i18n scripts (diff)
downloadinkscape-0ddedab9c6185028661dcaaac9f6fbca4c9e93fc.tar.gz
inkscape-0ddedab9c6185028661dcaaac9f6fbca4c9e93fc.zip
work in progress cmake commit:
- cmake now builds all files that automake does but does NOT link yet - inlcudes nasty hard coded paths and libs (will replace once linking works) (bzr r10272)
Diffstat (limited to 'src/dom')
-rw-r--r--src/dom/CMakeLists.txt68
-rw-r--r--src/dom/io/CMakeLists.txt18
-rw-r--r--src/dom/odf/CMakeLists.txt6
-rw-r--r--src/dom/util/CMakeLists.txt8
-rw-r--r--src/dom/work/CMakeLists.txt20
5 files changed, 60 insertions, 60 deletions
diff --git a/src/dom/CMakeLists.txt b/src/dom/CMakeLists.txt
index 7c434eb77..53609d241 100644
--- a/src/dom/CMakeLists.txt
+++ b/src/dom/CMakeLists.txt
@@ -1,38 +1,38 @@
-SET(domfolders
-io
-odf
-util
-#work
+set(domfolders
+ io
+ odf
+ util
+ #work
)
-FOREACH(domlistsrc ${domfolders})
- ADD_SUBDIRECTORY(${domlistsrc})
-ENDFOREACH(domlistsrc)
+foreach(domlistsrc ${domfolders})
+ add_subdirectory(${domlistsrc})
+endforeach()
-SET(dom_SRC
-cssreader.cpp
-domimpl.cpp
-domptr.cpp
-domstring.cpp
-lsimpl.cpp
-prop-css2.cpp
-#prop-css.cpp
-#prop-svg.cpp
-smilimpl.cpp
-svgimpl.cpp
-svgreader.cpp
-ucd.cpp
-uri.cpp
-xmlreader.cpp
-xmlwriter.cpp
-xpathimpl.cpp
-xpathparser.cpp
-xpathtoken.cpp
-${dom_io_SRC}
-${dom_odf_SRC}
-${dom_util_SRC}
-#${dom_work_SRC}
+set(dom_SRC
+ cssreader.cpp
+ domimpl.cpp
+ domptr.cpp
+ domstring.cpp
+ lsimpl.cpp
+ prop-css2.cpp
+ prop-css.cpp
+ prop-svg.cpp
+ smilimpl.cpp
+ svgimpl.cpp
+ svgreader.cpp
+ ucd.cpp
+ uri.cpp
+ xmlreader.cpp
+ xmlwriter.cpp
+ xpathimpl.cpp
+ xpathparser.cpp
+ xpathtoken.cpp
+ ${dom_io_SRC}
+ ${dom_odf_SRC}
+ ${dom_util_SRC}
+ #${dom_work_SRC}
)
-ADD_LIBRARY(dom STATIC ${dom_SRC})
-TARGET_LINK_LIBRARIES(dom
-2geom ${INKSCAPE_LIBS}) \ No newline at end of file
+
+add_library(dom STATIC ${dom_SRC})
+target_link_libraries(dom 2geom ${INKSCAPE_LIBS}) \ No newline at end of file
diff --git a/src/dom/io/CMakeLists.txt b/src/dom/io/CMakeLists.txt
index c8a98466d..0b0b4630d 100644
--- a/src/dom/io/CMakeLists.txt
+++ b/src/dom/io/CMakeLists.txt
@@ -1,11 +1,11 @@
-SET(dom_io_SRC
-base64stream.cpp
-bufferstream.cpp
-domstream.cpp
-gzipstream.cpp
-httpclient.cpp
-socket.cpp
-stringstream.cpp
-uristream.cpp
+set(dom_io_SRC
+ base64stream.cpp
+ bufferstream.cpp
+ domstream.cpp
+ gzipstream.cpp
+ httpclient.cpp
+ socket.cpp
+ stringstream.cpp
+ uristream.cpp
)
diff --git a/src/dom/odf/CMakeLists.txt b/src/dom/odf/CMakeLists.txt
index e0cb76060..089f65fbf 100644
--- a/src/dom/odf/CMakeLists.txt
+++ b/src/dom/odf/CMakeLists.txt
@@ -1,5 +1,5 @@
-SET(dom_odf_SRC
-odfdocument.cpp
-#SvgOdg.cpp
+set(dom_odf_SRC
+ odfdocument.cpp
+ #SvgOdg.cpp
)
diff --git a/src/dom/util/CMakeLists.txt b/src/dom/util/CMakeLists.txt
index 167e980c9..e5f583fa5 100644
--- a/src/dom/util/CMakeLists.txt
+++ b/src/dom/util/CMakeLists.txt
@@ -1,6 +1,6 @@
-SET(dom_util_SRC
-digest.cpp
-thread.cpp
-ziptool.cpp
+set(dom_util_SRC
+ digest.cpp
+ thread.cpp
+ ziptool.cpp
)
diff --git a/src/dom/work/CMakeLists.txt b/src/dom/work/CMakeLists.txt
index 8cd4676cf..52552c8b9 100644
--- a/src/dom/work/CMakeLists.txt
+++ b/src/dom/work/CMakeLists.txt
@@ -1,12 +1,12 @@
-SET(dom_work_SRC
-#testdom.cpp
-#testhttp.cpp
-#testjs.cpp
-#testodf.cpp
-#testsvg.cpp
-#testuri.cpp
-#testxpath.cpp
-#testzip.cpp
-#xpathtests.cpp
+set(dom_work_SRC
+ #testdom.cpp
+ #testhttp.cpp
+ #testjs.cpp
+ #testodf.cpp
+ #testsvg.cpp
+ #testuri.cpp
+ #testxpath.cpp
+ #testzip.cpp
+ #xpathtests.cpp
)