fluid-dev
[Top][All Lists]
Advanced

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

[fluid-dev] Re: cmake variables cannot be turned on/off


From: Pedro Lopez-Cabanillas
Subject: [fluid-dev] Re: cmake variables cannot be turned on/off
Date: Mon, 8 Nov 2010 18:38:51 +0100
User-agent: KMail/1.13.5 (Linux/2.6.34.7-0.5-desktop; KDE/4.4.4; i686; ; )

On Monday 08 November 2010, Ebrahim Mayat wrote:
> Hello Pedro
> 
> Working with revision 393,
> 
> $ cmake ..  -DENABLE_PORTAUDIO:BOOL=ON -DENABLE_FRAMEWORK:BOOL=OFF
> //
> **************************************************************
> Summary:
> libsndfile:            yes (with ogg vorbis support)
> D-Bus:                 yes
> PulseAudio:            no
> JACK:                  no
> ALSA:                  no
> PortAudio:             no
> //
> $ make
> 
> [ 97%] Building C object src/CMakeFiles/libfluidsynth.dir/bindings/ 
> fluid_filerenderer.c.o
> Linking C shared library FluidSynth.framework/Versions/1/FluidSynth
> Copying OS X content src/FluidSynth.framework/Versions/1/Headers/ 
> fluidsynth.h
> Copying OS X content src/FluidSynth.framework/Versions/1/Headers/ 
> fluidsynth/audio.h
> Copying OS X content src/FluidSynth.framework/Versions/1/Headers/ 
> fluidsynth/event.h
> 
> I am unable to disable the enable-framework option and I cannot turn  
> enable-portaudio on.

Because the variables and option names are case-sensitive. You need to write 
these option names in lowercase:

$ cmake ..  -Denable_portaudio=ON -Denable_framework=OFF

There are other options whose names are defined in uppercase, though. Be 
careful. You shouldn't need to write the variable types (BOOL). To avoid 
headaches, use the GUI front-end and the mouse to check/uncheck nice checkboxes.

$ cmake-gui ..

Regards,
Pedro



reply via email to

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