summaryrefslogtreecommitdiff
path: root/muse2/README
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2010-11-18 08:27:32 +0000
committerTim E. Real <termtech@rogers.com>2010-11-18 08:27:32 +0000
commit670e396ad8eb962ea7e37720ef91d79106994bc5 (patch)
tree864cb0bf7950b6e3aedfca296294d84ac0bef83f /muse2/README
parentb1b4e15d4eba560fa1898c1ba840a24d66e439c0 (diff)
Updated build part of README file - read it! Tell user to specify Release build type.
Add printout of build type, and remove duplicate LASH detection, in top level cmake. Patch by Orcan for pre-Qt4.6 filedialog icons.
Diffstat (limited to 'muse2/README')
-rw-r--r--muse2/README41
1 files changed, 26 insertions, 15 deletions
diff --git a/muse2/README b/muse2/README
index b0e19086..e032cc6e 100644
--- a/muse2/README
+++ b/muse2/README
@@ -57,25 +57,36 @@ details.
Compiling:
=============================
- - download source from http://lmuse.sourceforge.net/
+ - Download source from http://lmuse.sourceforge.net/
- - command line to unpack source:
- tar xvofz muse-x.y.z.tar.gz </code>
- where x.y.z is the version number.
+ - Command line to unpack source:
+ tar xvofz muse-x.y.z.tar.gz
+ where x.y.z is the version number.
+ Or just use a graphical de-compressor to unpack it somewhere.
- - to compile MusE, run the following commands from the
- top level directory, where the source code was unpacked :
+ - To compile MusE, run the following commands from the
+ top level directory where the source code was unpacked
+ (the directory where THIS README FILE is):
- mkdir build # create build directory
- cd build # enter build directory
+ # Create build directory. Choose any name like 'build'.
+ mkdir build
+ # Enter build directory.
+ cd build
+
+ # Create make system in the build directory.
+ # Optional <Prefix> is the location to install MusE, default /usr/local.
+ # Build type can be blank (to reset a previous cached type to 'empty'),
+ # debug, release, RelWithDebInfo and MinSizeRel.
+ # If no CMAKE_BUILD_TYPE is given at all, cmake uses either the previous
+ # cached value, or else 'empty' (plain unoptimized).
+ # ('Release' type is recommended, otherwise it builds a plain unoptimized program.)
+ cmake -DCMAKE_BUILD_TYPE=release [-DCMAKE_INSTALL_PREFIX=<prefix>] ../
+
+ # Compile muse
+ make
- cmake [-DCMAKE_INSTALL_PREFIX=<prefix> ] ../ # create make system in build directory
- # prefix is desired location to install MusE, default /usr/local
-
- make # compile muse
-
- - install MusE:
- run "make install" (as root user)
+ - Install MusE:
+ Run "make install" (as root user)
=============================
running MusE