> > 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 would use make (-G"Unix Makefiles") just to build the binaries and then use the script you also use with autotools. Only if this works we could try to completely generate the dmg with cmake. Peter > 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