Code

Cmake: Fix some undefined function calls
authorverbalshadow <verbalshadow@users.sourceforge.net>
Tue, 6 May 2008 00:42:07 +0000 (00:42 +0000)
committerverbalshadow <verbalshadow@users.sourceforge.net>
Tue, 6 May 2008 00:42:07 +0000 (00:42 +0000)
src/CMakeLists.txt
src/algorithms/CMakeLists.txt
src/api/CMakeLists.txt
src/application/CMakeLists.txt
src/dialogs/CMakeLists.txt
src/extension/internal/filter/CMakeLists.txt [new file with mode: 0644]
src/extension/script/CMakeLists.txt
src/ui/dialog/CMakeLists.txt

index 91e87d740fcfc4adf21c614322869eef25dd8942..4c4a74e004d29c5c8579f6fc66855bdca9d99cb7 100644 (file)
@@ -512,7 +512,8 @@ ${ONLY_WIN}
 # All folder with CMakeLists.txt files (excluding internal libraries)\r
 SET(srcfolders\r
 algorithms\r
-api\r
+api
+application\r
 bind\r
 debug
 dialogs\r
@@ -525,8 +526,12 @@ dom/util
 extension\r
 #extension/dxf2svg\r
 extension/implementation\r
-extension/internal\r
-extension/param\r
+extension/internal
+extension/internal/bitmap
+extension/internal/filter
+extension/internal/pdfinput\r
+extension/param
+extension/script\r
 graphlayout\r
 helper\r
 inkjar\r
@@ -569,8 +574,6 @@ ENDFOREACH(dirlist)
 # All directories containing lists files that describe building internal libraries\r
 SET(libfolders
 2geom\r
-application\r
-#dialogs\r
 libavoid\r
 libcola\r
 libcroco\r
index 36b860adb406886d7a1b6fdaf2723b441b8b6cf1..c4ef6aafb8e0ce69a5f2bb05a27a01784e37a0d3 100644 (file)
@@ -1,4 +1,4 @@
-SET(algorithms
+SET(algorithms_SRC
 find-if-before.h
 find-last-if.h
 longest-common-suffix.h
index e6dfe1105d7b9b154d21887ff2131899574c55a4..e2e9ff892ce539ef48a35e7a9c0f02fc91e28277 100644 (file)
@@ -1,3 +1,3 @@
-SET(api
-api/inkscape.idl
+SET(api_SRC
+#inkscape.idl
 )
index bfd2141fffe7807c0c0c523a2991fc647311a158..b8ec449232ddd1c12276ba80f03ea2ae1c1ebc9f 100644 (file)
@@ -1,4 +1,4 @@
-SET(application
+SET(application_SRC
 editor.cpp
 editor.h
 application.cpp
@@ -6,4 +6,3 @@ application.h
 app-prototype.cpp
 app-prototype.h
 )
-ADD_LIBRARY(inkapp STATIC ${application})
index d8737f7a47817accf8ebd6bbfd6d7fd448835f20..0b33519684b2d7bba6ad6dd4c185ff9e21cb2e04 100644 (file)
@@ -1,4 +1,4 @@
-SET(dialogs
+SET(dialogs_SRC
 clonetiler.cpp
 clonetiler.h
 debugdialog.cpp
@@ -31,6 +31,8 @@ layer-properties.cpp
 layer-properties.h
 layers-panel.cpp
 layers-panel.h
+makefile.in
+Makefile_insert
 object-attributes.cpp
 object-attributes.h
 rdf.cpp
diff --git a/src/extension/internal/filter/CMakeLists.txt b/src/extension/internal/filter/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f619dd5
--- /dev/null
@@ -0,0 +1,31 @@
+SET(extension_internal_filter_SRC
+apparition.h
+bloom.h
+clouds.h
+crystal.h
+cutout.h
+drop-shadow.h
+etched-glass.h
+filter-all.cpp
+filter.cpp
+filter-file.cpp
+filter.h
+fire.h
+frost.h
+ink-bleed.h
+jelly-bean.h
+jigsaw-piece.h
+leopard-fur.h
+metal.h
+motion-blur.h
+oil-slick.h
+patterned-glass.h
+ridged-border.h
+ripple.h
+roughen.h
+rubber-stamp.h
+sepia.h
+snow.h
+speckle.h
+zebra.h
+)
index 6939485082d662b2f200a21aaf4ed5cce9093fbf..a09528bb585baa1c6e9e7b28117931ace5154391 100644 (file)
@@ -1,3 +1,4 @@
 SET(extension_script_SRC
 InkscapeScript.cpp
+InkscapeScript.h
 )
index a8999e853fc4d3ed6d98788f56ce17dab069a0c3..b36afce459e822595d45442b6e7574ebadc08fb3 100644 (file)
@@ -1,3 +1,11 @@
+IF(WIN32)
+SET(ui_dialog_WIN32_SRC
+filedialogimpl-win32.cpp
+filedialogimpl-win32.h)
+ELSEIF(WIN32)
+    SET(ui_dialog_WIN32_SRC)
+ENDIF(WIN32)
+
 SET(ui_dialog_SRC
 aboutbox.cpp
 aboutbox.h
@@ -22,8 +30,6 @@ filedialog.cpp
 filedialog.h
 filedialogimpl-gtkmm.cpp
 filedialogimpl-gtkmm.h
-filedialogimpl-win32.cpp
-filedialogimpl-win32.h
 fill-and-stroke.cpp
 fill-and-stroke.h
 filter-effects-dialog.cpp
@@ -71,4 +77,5 @@ undo-history.h
 #whiteboard-sharewithuser.h
 xml-editor.cpp
 xml-editor.h
-)
\ No newline at end of file
+${ui_dialog_WIN32_SRC}
+)