LAview Core Libraries
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
2.0 KiB

5 years ago
  1. Requirements
  2. ------------
  3. Build-Time Dependencies
  4. Vala: https://wiki.gnome.org/Projects/Vala
  5. LAview-LaTeX-Struct: https://redmine.backbone.ws/projects/latex-struct
  6. GObject-Plugin: https://redmine.backbone.ws/projects/plugin
  7. CMake: http://www.cmake.org
  8. NSIS (W32): http://nsis.sourceforge.net
  9. Run-Time Dependencies
  10. LAview-LaTeX-Struct: https://redmine.backbone.ws/projects/latex-struct
  11. GObject-Plugin: https://redmine.backbone.ws/projects/plugin
  12. Operation Systems
  13. * GNU/Linux (Gentoo, Debian, etc.)
  14. * MS Windows (Windows 5.1 aka XP)
  15. * BSD-based (FreeBSD, OpenBSD, NetBSD, Mac OS X)
  16. If you need support of one more OS, be free in writing of patches and sending
  17. pull-requests to the mainstream.
  18. Compilation
  19. -----------
  20. Compilation under GNU/Linux
  21. $ mkdir build-gcc && cd build-gcc
  22. $ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
  23. $ make -j$((`getconf _NPROCESSORS_ONLN`+1))
  24. Compilation under MS Windows
  25. $ mkdir build-mingw && cd build-mingw
  26. $ cmake -G "MSYS Makefiles" .. -DCMAKE_BUILD_TYPE=Release
  27. $ make -j$((NUMBER_OF_PROCESSORS + 1))
  28. Compilation under BSD-based Systems.
  29. TODO: add description here.
  30. Packing/Installation
  31. --------------------
  32. Packing/Installation under GNU/Linux
  33. $ cpack
  34. Install using System Package Manager.
  35. Packing/Installation under MS Windows
  36. $ cpack
  37. Install using generated by NSIS executable.
  38. Packing/Installation under BSD-based
  39. $ cpack
  40. Install using System Package Manager.
  41. Testing
  42. -------
  43. Testing under GNU/Linux
  44. $ ctest -j$((`getconf _NPROCESSORS_ONLN`+1))
  45. Automated tests for memory leaks:
  46. $ ctest -j$((NUMBER_OF_PROCESSORS + 1)) -D NightlyMemCheck && grep definitely Testing/Temporary/LastDynamicAnalysis_*.log
  47. Testing under MS Windows
  48. $ ctest -j$((NUMBER_OF_PROCESSORS + 1))
  49. Automated tests for memory leaks are not available as far as Valgrind not
  50. present on this platform.
  51. Testing under BSD-based
  52. $ ctest
  53. Automated tests for memory leaks are not available as far as Valgrind not
  54. present on this platform.