lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] MIDI command line option


From: Mats Bengtsson
Subject: Re: [PATCH] MIDI command line option
Date: Tue, 05 Aug 2008 15:35:04 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

Isn't the answer to Neil's question to be found in the files used to build the Windows installer. In http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=blob;f=nsis/lilypond-prepost.nsh;h=05f6a2e199d1f35bb930c651679f337c28c0f6dc;hb=refs/heads/gub
you will see that LilyPond is called using
"$INSTDIR\usr\bin\lilypond-windows.exe" "-dgui"
when when you double-click an .ly file or the LilyPond icon. As you can see, it's called with the -dgui option and you can easily add more options in the same way. I think Valentin has looked at the NSIS tool fairly recently, when he prepared the EasyLilyPond tool, so he might be able to help with the .nsi files if needed.

   /Mats

Han-Wen Nienhuys wrote:
On Mon, Jul 28, 2008 at 4:37 PM, Neil Puttock <address@hidden> wrote:
2008/7/27 Han-Wen Nienhuys <address@hidden>:
Looks good to me.

You may want to change the default for windows.
I'm not quite sure how to achieve this; if there's a check for windows
which alters the option at runtime, how can a user override this
either in a .ly file or using the command line?

The command line options are processed in

(define-public (lilypond-main files)
  "Entry point for LilyPond."

  (eval-string (ly:command-line-code))

everything which comes before just sets the default.


--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

[Prev in Thread] Current Thread [Next in Thread]