Am 29.08.2014 um 08:28 schrieb Peter Kuemmel <syntheti...@gmx.net>:

>> 
>>> It's Friday:
>>> 
>>>> 
>>>> There are no traces of LYX_CALLSTACK_PRINTING in automake files.
>>> 
>>> Not important, automake will be dropped anyway ;)
>> 
>> So, you're working on a cmake way to produce Mac packages? When is it 
>> finished? ;)
> 
> Isn't the package created by a bash script after building?
> Or is the cmake-build broken on Mac?

Sorry, I've missed your reply.

I'm using the cmake-generator to produce a Xcode project. 
I didn't know what command line parameters I have to pass to cmake
and xcodebuild to build a reasonable LyX package.

This is what I've tried:

$ cmake ... -DLYX_INSTALL_PREFIX=/Users/Shared/LyX/cmake/LyX-2.2 -DLYX_DMG=ON
$ xcodebuild -project lyx-build/cmake/2.2.0dev/LyX.xcodeproj -target install

After this I have a working LyX2.2.app in /Users/Shared/LyX/cmake/LyX-2.2 but
cannot find any disk image.

$ xcodebuild -project lyx-build/cmake/2.2.0dev/LyX.xcodeproj -target package

looks better. I get a LyX22-2.2.0-Darwin.dmg inside install dir. It opens with
a english GNU GPL disclaimer and if I agree with it I'm able to start the LyX 
app.

Not that bad, but not production ready, I'd say. E.g. if I don't agree but do
something else I'm unable to open the disk image again. The GPL query isn't 
shown
anymore and there is no possibility to agree or disagree. The disk image isn't
usable anymore…

Stephan

Reply via email to