lyx_mirror/development/cmake
Kornel Benko 20359572ed Patch from Benjamin Piwowarski
Just some comments on the patch:

- The executable name has to match the information in Info.plist (development/MacOSX/Info.plist.in and CMakeLists.txt).  The autoconf config/lyxinclude.m4 file has been modified to make it work with autotools.

- The process to build OS X bundle is to first add all the files to be included to the bundle when calling add_executable (src/CMakeLists.txt) and then by calling setting the source file property of each of these files (development/cmake/Install.cmake, l.14) so that the files are properly located into the bundle. This is also why Install.cmake has to be included two times in src/CMakeLists.txt (once to build the list of files, once to set the location of the list of files).

- in CMakeLists.txt there is a line
install(CODE "set(BU_CHMOD_BUNDLE_ITEMS 1)")
What it does is to fix the owner permissions within the bundle - this is necessary because some libraries are copied within the bundle and might be owned by root

- An empty qt.conf is included in the bundle so that QT does not try to link to other QT libraries (which will not be included in the bundle)

- In development/cmake/Install.cmake, some OS X specific files (*.sdef, qt.conf, *.icns) have to be included in the bundle

Benjamin
2012-10-13 09:53:20 +02:00
..
doc LFUNs.lyx was erroneously installed as "doc/LFUNs.lyx/LFUNs.lyx" instead 2011-07-04 18:27:50 +00:00
man cmake: we have 2011 and more white space changes, won't call "use tabs" ;) 2011-01-10 23:24:00 +00:00
modules Cmake build: Define for 'USE_ENCHANT' already done in development/cmake/config.h.cmake 2012-10-09 22:42:06 +02:00
po cmake fix po generation/update: msguniq.exe doesn't like dos line endings (produces broken pot files) 2011-10-21 23:22:58 +00:00
build.bat cmake/build.bat: correct a path proposal 2012-05-27 02:15:18 +02:00
config.cpp.cmake
config.h.cmake Cmake build: 2012-10-09 21:52:17 +02:00
configCompiler.h.cmake Added libmagic to cmake build. Should to be also adapted to windows 2012-02-22 10:07:04 +00:00
configCompiler.h.msvc cmake: we already test on gettext 2011-05-12 04:22:14 +00:00
ConfigureChecks.cmake
dmg cmake: build a .dmg file on Mac, looks not as nice as the official installer but it runs 2011-05-15 13:21:18 +00:00
Install.cmake Patch from Benjamin Piwowarski 2012-10-13 09:53:20 +02:00
LyX_description.txt
LyX_license.txt
LyX_summary.txt
lyx.rc
LyxPackaging.cmake Make package name be platform dependent 2012-09-21 15:09:46 +02:00
pcheaders.h
PyCompile.cmake Make installed python scripts executable (as in autotools) 2011-05-08 07:28:19 +00:00
TODO.txt cmake: more to do 2011-06-05 10:37:42 +00:00