summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse/CMakeLists.txt21
-rw-r--r--muse/TODO12
-rw-r--r--muse/doc/CMakeLists.txt24
-rw-r--r--muse/doc/dimpl/CMakeLists.txt44
-rw-r--r--muse/doc/dimpl/dimpl.pdfbin166457 -> 162120 bytes
-rw-r--r--muse/doc/man/CMakeLists.txt22
-rw-r--r--muse/doc/man/de/CMakeLists.txt42
7 files changed, 154 insertions, 11 deletions
diff --git a/muse/CMakeLists.txt b/muse/CMakeLists.txt
index 84b6e924..29cbddae 100644
--- a/muse/CMakeLists.txt
+++ b/muse/CMakeLists.txt
@@ -38,10 +38,29 @@ set(CMAKE_VERBOSE_MAKEFILE ON)
set(QT_USE_QTXML TRUE)
set(QT_USE_QTDESIGNER TRUE)
+##
+## look for Qt4
+##
+
find_package(Qt4)
+
+if (NOT QT4_FOUND)
+ message(FATAL_ERROR "Fatal error: QT (version >= 4.1.0) required")
+endif (NOT QT4_FOUND)
+
include(${QT_USE_FILE})
##
+## find texexec (ConTeXt)
+##
+
+find_path( TEXEXEC_PATH texutil )
+if (NOT TEXEXEC_PATH)
+ message("texexec from ConTeXt package not found. Documentation will not be build")
+endif (NOT TEXEXEC_PATH)
+
+
+##
## find doxygen
## TODO
@@ -158,7 +177,7 @@ set(CMAKE_CXX_FLAGS
"-g -Wall -Wextra -Winvalid-pch -fno-exceptions -fno-rtti"
)
-subdirs(al awl grepmidi plugins midiplugins synti muse share)
+subdirs(al awl grepmidi plugins midiplugins synti muse share doc)
include_directories(
.
diff --git a/muse/TODO b/muse/TODO
index a62e6cef..e6d83405 100644
--- a/muse/TODO
+++ b/muse/TODO
@@ -1,11 +1,5 @@
- convert make system to cmake
- - change *.ui names (remove *base*)
- - rearrange code if necessary
-
- move to subversion
-
-----------------------------TODO-------------------------------------------
-(1.2.2006)
+(4.5.2006)
BUGS
- updating the gui during midi recording is too slow;
@@ -57,8 +51,6 @@ CLEANUPS
- redirect all *xpm program references to resource file
- remove icon.cpp icon.h
- - implement main widget with qt designer
-
Wishlist
- it should be possible to show controller events in the
tracklist for tracktypes which cannot contain
@@ -67,7 +59,7 @@ Wishlist
- the controller selector in "Add Controller" should be
implemented as a modal dialog. This allows for
- presenting the list of controller in a structured
+ presenting the list of controller in a more structured
way.
diff --git a/muse/doc/CMakeLists.txt b/muse/doc/CMakeLists.txt
new file mode 100644
index 00000000..387df934
--- /dev/null
+++ b/muse/doc/CMakeLists.txt
@@ -0,0 +1,24 @@
+#=============================================================================
+# MusE
+# Linux Music Editor
+# $Id:$
+#
+# Copyright (C) 2002-2006 by Werner Schweer and others
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#=============================================================================
+
+if (TEXEXEC_PATH)
+ subdirs( dimpl man )
+endif (TEXEXEC_PATH)
+
diff --git a/muse/doc/dimpl/CMakeLists.txt b/muse/doc/dimpl/CMakeLists.txt
new file mode 100644
index 00000000..4c923a9b
--- /dev/null
+++ b/muse/doc/dimpl/CMakeLists.txt
@@ -0,0 +1,44 @@
+#=============================================================================
+# MusE
+# Linux Music Editor
+# $Id:$
+#
+# Copyright (C) 2002-2006 by Werner Schweer and others
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#=============================================================================
+
+set (SRC dimpl.tex)
+
+add_custom_command (
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/dimpl.pdf
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/dimpl.tex
+ COMMAND ${TEXEXEC_PATH}/texexec
+ ARGS --language=en --verbose --batch --pdf --result=dimpl.pdf dimpl.tex
+ )
+
+add_custom_target ( dimpl ALL
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/dimpl.pdf
+ )
+
+install_files ( /share/${MusE_INSTALL_NAME}/doc/ .pdf
+ ${CMAKE_CURRENT_SOURCE_DIR}/dimpl.pdf )
+
+set (extraClean dimpl.log dimpl.tmp dimpl.tuo dimpl.tui
+ dimpl-mpgraph.mp mpgraph.mp )
+
+set_directory_properties( PROPERTIES
+ ADDITIONAL_MAKE_CLEAN_FILES "${extraClean}"
+ )
+
+
diff --git a/muse/doc/dimpl/dimpl.pdf b/muse/doc/dimpl/dimpl.pdf
index 0e055d37..22f0df05 100644
--- a/muse/doc/dimpl/dimpl.pdf
+++ b/muse/doc/dimpl/dimpl.pdf
Binary files differ
diff --git a/muse/doc/man/CMakeLists.txt b/muse/doc/man/CMakeLists.txt
new file mode 100644
index 00000000..a1d7c93f
--- /dev/null
+++ b/muse/doc/man/CMakeLists.txt
@@ -0,0 +1,22 @@
+#=============================================================================
+# MusE
+# Linux Music Editor
+# $Id:$
+#
+# Copyright (C) 2002-2006 by Werner Schweer and others
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#=============================================================================
+
+subdirs( de en )
+
diff --git a/muse/doc/man/de/CMakeLists.txt b/muse/doc/man/de/CMakeLists.txt
new file mode 100644
index 00000000..9c73fd00
--- /dev/null
+++ b/muse/doc/man/de/CMakeLists.txt
@@ -0,0 +1,42 @@
+#=============================================================================
+# MusE
+# Linux Music Editor
+# $Id:$
+#
+# Copyright (C) 2002-2006 by Werner Schweer and others
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#=============================================================================
+
+set (SRC man-de.tex)
+
+add_custom_command (
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/man-de.pdf
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/man-de.tex
+ COMMAND ${TEXEXEC_PATH}/texexec
+ ARGS --language=en --verbose --batch --pdf --result=man-de.pdf man-de.tex
+ )
+
+add_custom_target ( man-de ALL
+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/man-de.pdf
+ )
+
+install_files ( /share/${MusE_INSTALL_NAME}/doc/ .pdf
+ ${CMAKE_CURRENT_SOURCE_DIR}/man-de.pdf )
+
+set (extraClean man-de.log man-de.tmp man-de.tuo man-de.tui
+ man-de-mpgraph.mp mpgraph.mp )
+
+set_directory_properties( PROPERTIES
+ ADDITIONAL_MAKE_CLEAN_FILES "${extraClean}"
+ )