Code

add CMakeFiles for io, jabber_whiteboard libavoid libcola.
authorjohanengelen <johanengelen@users.sourceforge.net>
Sun, 30 Mar 2008 17:48:32 +0000 (17:48 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Sun, 30 Mar 2008 17:48:32 +0000 (17:48 +0000)
src/extension/dxf2svg/Makefile
src/graphlayout/makefile
src/io/CMakeLists.txt [new file with mode: 0644]
src/jabber_whiteboard/CMakeLists.txt [new file with mode: 0644]
src/jabber_whiteboard/dialog/CMakeLists.txt [new file with mode: 0644]
src/libavoid/CMakeLists.txt [new file with mode: 0644]
src/libcola/CMakeLists.txt [new file with mode: 0644]

index d0f06daf059b6a8a8b73412bdcf55f51e59056da..7a400d81c266a239cd514119d6021b3f6afb9d8f 100644 (file)
-objs = read_dxf.o entities.o entities2elements.o tables.o tables2svg_info.o blocks.o
-flags = -O1
-
-dxf2svg : dxf2svg.cpp $(objs)
-       g++ $(flags) -o dxf2svg dxf2svg.cpp $(objs)
-
-test : test_dxf.cpp $(objs)
-       g++ $(flags) -o test test_dxf.cpp $(objs)
-       
-%.o : %.cpp %.h 
-       g++ $(flags) -c $<
-       
-clean :
-       rm dxf2svg $(objs)
-
-install:
-       echo ****User intervention required****
-       echo
-       echo Copy dxf2svg executable and dxf2svg.inx to share/extension directory
-       echo Make sure file permissions are set correctly
-       
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "MinGW Makefiles" Generator, CMake Version 2.4
+
+# Default target executed when no arguments are given to make.
+default_target: all
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canoncical targets will work.
+.SUFFIXES:
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+
+#=============================================================================
+# Set environment variables for the build.
+
+SHELL = cmd.exe
+
+# The CMake executable.
+CMAKE_COMMAND = "C:\Program Files\CMake 2.4\bin\cmake.exe"
+
+# The command to remove a file.
+RM = "C:\Program Files\CMake 2.4\bin\cmake.exe" -E remove -f
+
+# The program to use to edit the cache.
+CMAKE_EDIT_COMMAND = C:\PROGRA~1\CMAKE2~1.4\bin\CMAKES~1.EXE
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = C:\inkscape
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = C:\inkscape
+
+# Include the progress variables for this target.
+include CMakeFiles/progress.make
+
+#=============================================================================
+# Targets provided globally by CMake.
+
+# Special rule for the target edit_cache
+edit_cache:
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
+       cd C:\inkscape\src\extension\dxf2svg && "C:\Program Files\CMake 2.4\bin\CMakeSetup.exe" -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+
+# Special rule for the target edit_cache
+edit_cache/fast: edit_cache
+
+# Special rule for the target rebuild_cache
+rebuild_cache:
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
+       cd C:\inkscape\src\extension\dxf2svg && "C:\Program Files\CMake 2.4\bin\cmake.exe" -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+
+# Special rule for the target rebuild_cache
+rebuild_cache/fast: rebuild_cache
+
+# The main all target
+all: cmake_check_build_system
+       cd C:\inkscape && $(CMAKE_COMMAND) -E cmake_progress_start C:\inkscape\CMakeFiles $(CMAKE_ALL_PROGRESS)
+       cd C:\inkscape && $(MAKE) -f CMakeFiles/Makefile2 src/extension/dxf2svg/all
+       $(CMAKE_COMMAND) -E cmake_progress_start C:\inkscape\CMakeFiles 0
+
+# The main clean target
+clean:
+       cd C:\inkscape && $(MAKE) -f CMakeFiles/Makefile2 src/extension/dxf2svg/clean
+
+# The main clean target
+clean/fast: clean
+
+# Prepare targets for installation.
+preinstall: all
+       cd C:\inkscape && $(MAKE) -f CMakeFiles/Makefile2 src/extension/dxf2svg/preinstall
+
+# Prepare targets for installation.
+preinstall/fast:
+       cd C:\inkscape && $(MAKE) -f CMakeFiles/Makefile2 src/extension/dxf2svg/preinstall
+
+# clear depends
+depend:
+       $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles\Makefile.cmake 1
+
+# Help Target
+help::
+       @$(CMAKE_COMMAND) -E echo "The following are some of the valid targets for this Makefile:"
+       @$(CMAKE_COMMAND) -E echo "... all (the default if no target is provided)"
+       @$(CMAKE_COMMAND) -E echo "... clean"
+       @$(CMAKE_COMMAND) -E echo "... depend"
+       @$(CMAKE_COMMAND) -E echo "... edit_cache"
+       @$(CMAKE_COMMAND) -E echo "... rebuild_cache"
+
+
+
+#=============================================================================
+# Special targets to cleanup operation of make.
+
+# Special rule to run CMake to check the build system integrity.
+# No rule that depends on this can have commands that come from listfiles
+# because they might be regenerated.
+cmake_check_build_system:
+       cd C:\inkscape && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles\Makefile.cmake 0
+
index 5d8ac906eeaa8b78ab1399219f10ea19f0a53d52..27a0313ccc7ebcb8a7ee40cf6394dd285711fbe2 100644 (file)
-# Convenience stub makefile to call the real Makefile.
-
-
-
-# Explicit so that it's the default rule.
-all:
-       cd .. && $(MAKE) graphlayout/all
-
-clean %.a %.o:
-       cd .. && $(MAKE) graphlayout/$@
-
-.PHONY: all clean
-
-OBJEXT = o
-
-.SUFFIXES:
-.SUFFIXES: .a .$(OBJEXT)
+# CMAKE generated file: DO NOT EDIT!\r
+# Generated by "MinGW Makefiles" Generator, CMake Version 2.4\r
+\r
+# Default target executed when no arguments are given to make.\r
+default_target: all\r
+\r
+#=============================================================================\r
+# Special targets provided by cmake.\r
+\r
+# Disable implicit rules so canoncical targets will work.\r
+.SUFFIXES:\r
+\r
+.SUFFIXES: .hpux_make_needs_suffix_list\r
+\r
+# Suppress display of executed commands.\r
+$(VERBOSE).SILENT:\r
+\r
+# A target that is always out of date.\r
+cmake_force:\r
+\r
+#=============================================================================\r
+# Set environment variables for the build.\r
+\r
+SHELL = cmd.exe\r
+\r
+# The CMake executable.\r
+CMAKE_COMMAND = "C:\Program Files\CMake 2.4\bin\cmake.exe"\r
+\r
+# The command to remove a file.\r
+RM = "C:\Program Files\CMake 2.4\bin\cmake.exe" -E remove -f\r
+\r
+# The program to use to edit the cache.\r
+CMAKE_EDIT_COMMAND = C:\PROGRA~1\CMAKE2~1.4\bin\CMAKES~1.EXE\r
+\r
+# The top-level source directory on which CMake was run.\r
+CMAKE_SOURCE_DIR = C:\inkscape\r
+\r
+# The top-level build directory on which CMake was run.\r
+CMAKE_BINARY_DIR = C:\inkscape\r
+\r
+# Include the progress variables for this target.\r
+include CMakeFiles/progress.make\r
+\r
+#=============================================================================\r
+# Targets provided globally by CMake.\r
+\r
+# Special rule for the target edit_cache\r
+edit_cache:\r
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."\r
+       cd C:\inkscape\src\graphlayout && "C:\Program Files\CMake 2.4\bin\CMakeSetup.exe" -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)\r
+\r
+# Special rule for the target edit_cache\r
+edit_cache/fast: edit_cache\r
+\r
+# Special rule for the target rebuild_cache\r
+rebuild_cache:\r
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."\r
+       cd C:\inkscape\src\graphlayout && "C:\Program Files\CMake 2.4\bin\cmake.exe" -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)\r
+\r
+# Special rule for the target rebuild_cache\r
+rebuild_cache/fast: rebuild_cache\r
+\r
+# The main all target\r
+all: cmake_check_build_system\r
+       cd C:\inkscape && $(CMAKE_COMMAND) -E cmake_progress_start C:\inkscape\CMakeFiles $(CMAKE_ALL_PROGRESS)\r
+       cd C:\inkscape && $(MAKE) -f CMakeFiles/Makefile2 src/graphlayout/all\r
+       $(CMAKE_COMMAND) -E cmake_progress_start C:\inkscape\CMakeFiles 0\r
+\r
+# The main clean target\r
+clean:\r
+       cd C:\inkscape && $(MAKE) -f CMakeFiles/Makefile2 src/graphlayout/clean\r
+\r
+# The main clean target\r
+clean/fast: clean\r
+\r
+# Prepare targets for installation.\r
+preinstall: all\r
+       cd C:\inkscape && $(MAKE) -f CMakeFiles/Makefile2 src/graphlayout/preinstall\r
+\r
+# Prepare targets for installation.\r
+preinstall/fast:\r
+       cd C:\inkscape && $(MAKE) -f CMakeFiles/Makefile2 src/graphlayout/preinstall\r
+\r
+# clear depends\r
+depend:\r
+       $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles\Makefile.cmake 1\r
+\r
+# Help Target\r
+help::\r
+       @$(CMAKE_COMMAND) -E echo "The following are some of the valid targets for this Makefile:"\r
+       @$(CMAKE_COMMAND) -E echo "... all (the default if no target is provided)"\r
+       @$(CMAKE_COMMAND) -E echo "... clean"\r
+       @$(CMAKE_COMMAND) -E echo "... depend"\r
+       @$(CMAKE_COMMAND) -E echo "... edit_cache"\r
+       @$(CMAKE_COMMAND) -E echo "... rebuild_cache"\r
+\r
+\r
+\r
+#=============================================================================\r
+# Special targets to cleanup operation of make.\r
+\r
+# Special rule to run CMake to check the build system integrity.\r
+# No rule that depends on this can have commands that come from listfiles\r
+# because they might be regenerated.\r
+cmake_check_build_system:\r
+       cd C:\inkscape && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles\Makefile.cmake 0\r
+\r
diff --git a/src/io/CMakeLists.txt b/src/io/CMakeLists.txt
new file mode 100644 (file)
index 0000000..5b19b8d
--- /dev/null
@@ -0,0 +1,23 @@
+SET(io_SRC\r
+base64stream.cpp\r
+base64stream.h\r
+ftos.cpp\r
+ftos.h\r
+gzipstream.cpp\r
+gzipstream.h\r
+inkscapestream.cpp\r
+inkscapestream.h\r
+resource.cpp\r
+resource.h\r
+simple-sax.cpp\r
+simple-sax.h\r
+streamtest.cpp\r
+stringstream.cpp\r
+stringstream.h\r
+sys.cpp\r
+sys.h\r
+uristream.cpp\r
+uristream.h\r
+xsltstream.cpp\r
+xsltstream.h\r
+)
\ No newline at end of file
diff --git a/src/jabber_whiteboard/CMakeLists.txt b/src/jabber_whiteboard/CMakeLists.txt
new file mode 100644 (file)
index 0000000..bc3b421
--- /dev/null
@@ -0,0 +1,43 @@
+SET(jabber_whiteboard_SRC\r
+defines.cpp\r
+defines.h\r
+empty.cpp\r
+inkboard-document.cpp\r
+inkboard-document.h\r
+inkboard-node.cpp\r
+invitation-confirm-dialog.cpp\r
+invitation-confirm-dialog.h\r
+keynode.cpp\r
+keynode.h\r
+message-aggregator.cpp\r
+message-aggregator.h\r
+message-node.h\r
+message-queue.cpp\r
+message-queue.h\r
+message-tags.cpp\r
+message-tags.h\r
+message-utilities.cpp\r
+message-utilities.h\r
+message-verifier.h\r
+node-tracker.cpp\r
+node-tracker.h\r
+node-utilities.cpp\r
+node-utilities.h\r
+pedrogui.cpp\r
+pedrogui.h\r
+session-file-selector.cpp\r
+session-file-selector.h\r
+session-manager.cpp\r
+session-manager.h\r
+tracker-node.h\r
+${jabber_whiteboard_dialog_SRC}\r
+)\r
+\r
+# Add New folders in src folder here\r
+SET(jabber_whiteboardfolders\r
+dialog\r
+)\r
+\r
+FOREACH(jabber_whiteboarddirlist ${jabber_whiteboardfolders})\r
+ADD_SUBDIRECTORY(${jabber_whiteboarddirlist})\r
+ENDFOREACH(jabber_whiteboarddirlist)
\ No newline at end of file
diff --git a/src/jabber_whiteboard/dialog/CMakeLists.txt b/src/jabber_whiteboard/dialog/CMakeLists.txt
new file mode 100644 (file)
index 0000000..61befc6
--- /dev/null
@@ -0,0 +1,4 @@
+SET(jabber_whiteboard_dialog_SRC\r
+choose-desktop.cpp\r
+choose-desktop.h\r
+)
\ No newline at end of file
diff --git a/src/libavoid/CMakeLists.txt b/src/libavoid/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e2530c1
--- /dev/null
@@ -0,0 +1,30 @@
+SET(libavoid_SRC\r
+connector.cpp\r
+connector.h\r
+debug.h\r
+geometry.cpp\r
+geometry.h\r
+geomtypes.h\r
+graph.cpp\r
+graph.h\r
+libavoid.h\r
+makepath.cpp\r
+makepath.h\r
+polyutil.cpp\r
+polyutil.h\r
+region.cpp\r
+region.h\r
+router.cpp\r
+router.h\r
+shape.cpp\r
+shape.h\r
+static.cpp\r
+static.h\r
+timer.cpp\r
+timer.h\r
+vertices.cpp\r
+vertices.h\r
+visibility.cpp\r
+visibility.h\r
+)\r
+ADD_LIBRARY(inklibavoid STATIC ${libavoid_SRC})\r
diff --git a/src/libcola/CMakeLists.txt b/src/libcola/CMakeLists.txt
new file mode 100644 (file)
index 0000000..04005fd
--- /dev/null
@@ -0,0 +1,17 @@
+SET(libcola_SRC\r
+cola.cpp\r
+cola.h\r
+conjugate_gradient.cpp\r
+conjugate_gradient.h\r
+connected_components.cpp\r
+cycle_detector.cpp\r
+cycle_detector.h\r
+defs.h\r
+gradient_projection.cpp\r
+gradient_projection.h\r
+shortest_paths.cpp\r
+shortest_paths.h\r
+straightener.cpp\r
+straightener.h\r
+)\r
+ADD_LIBRARY(inklibcola STATIC ${libcola_SRC})
\ No newline at end of file