1 Building LMMS got quite simple since 0.4.0 as everything is managed
2 by cmake now. Therefore make sure you have CMake (>= 2.6.0 recommended) and
12 If your system does not have "sudo", become root with your preferred mechanism
13 and run the "make install" command.
15 With the above commands an out-of-tree build is performed. You can also run
16 "cmake ." directly in the root of source tree although this is not recommended.
17 When performing an out-of-tree build after there's already an in-tree build,
18 make sure to run "make distclean" before running cmake inside build-directory.
20 If you want to use custom compiler flags simply set the environment variables
23 After running cmake (the 3rd command above) you can see a summary of things
24 that are going to be built into LMMS or built as plugins. Install the
25 according libraries and development files if a certain feature is not enabled.
26 Then remove CMakeCache.txt and run cmake again.
28 If you want to supply an install prefix to cmake, add the flag:
30 -DCMAKE_INSTALL_PREFIX=<prefix>
32 Where <prefix> can be /usr, /usr/local, /opt, etc. The default is /usr/local.