BUILD.txt 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. ===============================================================================================
  2. TO COMPILE THE SOURCE CODE IN LINUX
  3. ===============================================================================================
  4. Ensure that the following packages 'cmake', 'libqt4-dev', 'libasound2-dev' and
  5. 'build-essential" are installed .
  6. In the PianoBooster directory type "cd build" to change to the "build" directory
  7. then type "cmake ../src", followed by "make". Finally as root type "make install".
  8. To build a debug version create a dir called "debug" and change to that dir and then
  9. type "cmake -DCMAKE_BUILD_TYPE=Debug ../src"
  10. (Alternatively you can use qmake followed by make in the src directory.)
  11. If you make changes to the source code then please post details on the forum.
  12. ===============================================================================================
  13. TO COMPILE THE SOURCE CODE IN MacOSX
  14. ===============================================================================================
  15. Install latest XCode (from Apple Developer Connection, free registration required)
  16. Install CMake and QT libraries (either from source or via Fink or MacPorts)
  17. Generate XCode project file, via 'cmake -G Xcode ../src'
  18. Open the project file in XCode, set whatever options you like (universal or single architecture,
  19. debug or release etc.) and compile
  20. To make a self contained application bundle use QT's macdeployqt tool (included in QT 4.5.0)
  21. If you make changes to the source code then please post details on the forum.
  22. ===============================================================================================
  23. TO COMPILE THE SOURCE CODE IN WINDOWS
  24. ===============================================================================================
  25. To compile in Windows install the Open Source version of Qt and CMake and optionally Geany.
  26. When installing Qt select the option to download and install the MinGW compiler. Open the
  27. Qt Command Prompt and then change to the "PianoBooster\build" directory and then type the
  28. command below.
  29. "C:\Program Files\CMake 2.6\bin\cmake.exe" -G "MinGW Makefiles" ..\src
  30. Once this is completed type "make".
  31. Or alternatively you can install QtCreator and then open the painobooster.pro
  32. If you make changes to the source code then please post details on the forum.
  33. ===============================================================================================
  34. LICENSE
  35. ===============================================================================================
  36. Piano Booster is fully copyrighted by the author and all rights are reserved.
  37. PianoBooster is free software (Open Source software): you can redistribute it and/or modify
  38. it under the terms of the GNU General Public License as published by the Free Software
  39. Foundation, either version 3 of the License, or (at your option) any later version.
  40. PianoBooster is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
  41. without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  42. See the GNU General Public License in the file "gplv3.txt" or from the web site
  43. <http://www.gnu.org/licenses/>.