CMake Options

From Audacity Wiki
Jump to: navigation, search

You can use "cmake -LH" to get a list of the options, but here's what that will print:

Windows

// Semicolon separated list of supported configuration types, only supports
Debug, Release, MinSizeRel, and RelWithDebInfo, anything else will be
ignored.
CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release;MinSizeRel;RelWithDebInfo

// Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=C:/Program Files (x86)/Audacity

// Library preference [system (if available), local]
audacity_lib_preference:STRING=system

// Use expat library [system (if available), local]
audacity_use_expat:STRING=local

// Use ffmpeg library [loaded, off]
audacity_use_ffmpeg:STRING=loaded

// Use flac library [system (if available), local, off]
audacity_use_flac:STRING=local

// Use id3tag library [system (if available), local, off]
audacity_use_id3tag:STRING=local

// Use LADSPA plug-in support [on, off]
audacity_use_ladspa:BOOL=ON

// Use lame library [system (if available), local]
audacity_use_lame:STRING=local

// Use lv2 library [system (if available), local, off]
audacity_use_lv2:STRING=local

// Use mad library [system (if available), local, off]
audacity_use_mad:STRING=local

// Use midi library [system (if available), local, off]
audacity_use_midi:STRING=local

// Use nyquist library [local, off]
audacity_use_nyquist:STRING=local

// Use ogg library [system (if available), local, off]
audacity_use_ogg:STRING=local

// Use the portaudio DirectSound interface if available
audacity_use_pa_ds:BOOL=YES

// Use the JACK audio interface if available [loaded, linked, off]
audacity_use_pa_jack:STRING=off

// Use the portaudio WASAPI interface if available
audacity_use_pa_wasapi:BOOL=YES

// Use the portaudio WMME interface if available
audacity_use_pa_wmme:BOOL=YES

// Use precompiled headers [yes, no]
audacity_use_pch:BOOL=YES

// Use portaudio library [local]
audacity_use_portaudio:STRING=local

// Use portmixer library [local, off]
audacity_use_portmixer:STRING=local

// Use portsmf library [system (if available), local, off]
audacity_use_portsmf:STRING=local

// Use sbsms library [local, off]
audacity_use_sbsms:STRING=local

// Use sndfile library [system (if available), local]
audacity_use_sndfile:STRING=local

// Use soundtouch library [system (if available), local, off]
audacity_use_soundtouch:STRING=local

// Use soxr library [system (if available), local]
audacity_use_soxr:STRING=local

// Use twolame library [system (if available), local, off]
audacity_use_twolame:STRING=local

// Use vamp library [system (if available), local, off]
audacity_use_vamp:STRING=local

// Use vorbis library [system (if available), local, off]
audacity_use_vorbis:STRING=local

// Use VST2 plug-in support [on, off]
audacity_use_vst:BOOL=ON

// Use wxwidgets library [system (if available), local]
audacity_use_wxwidgets:STRING=system

// Set wxWidgets configuration (mswud;mswu)
wxWidgets_CONFIGURATION:STRING=mswu

// Cleared.
wxWidgets_LIB_DIR:PATH=C:/Users/Yam/Documents/aud/wxWidgets/lib/vc_dll

// wxWidgets base/installation directory
wxWidgets_ROOT_DIR:PATH=C:/Users/Yam/Documents/aud/wxWidgets

// Use release and debug configurations?
wxWidgets_USE_REL_AND_DBG:BOOL=ON

// Location of wxWidgets resource file compiler binary (wxrc)
wxWidgets_wxrc_EXECUTABLE:FILEPATH=wxWidgets_wxrc_EXECUTABLE-NOTFOUND

Linux

// Choose the type of build, options are: None Debug Release RelWithDebInfo
MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=

// Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local

// Path to a library.
LIB_FLAC:FILEPATH=/usr/local/lib/libFLAC.so

// Path to a library.
LIB_FLAC++:FILEPATH=/usr/local/lib/libFLAC++.so

// Path to a library.
LIB_SoundTouch:FILEPATH=/usr/local/lib/libSoundTouch.so

// Path to a library.
LIB_expat:FILEPATH=/usr/local/lib/libexpat.so

// Path to a library.
LIB_id3tag:FILEPATH=/usr/local/lib/libid3tag.so

// Path to a library.
LIB_m:FILEPATH=/usr/lib/libm.so

// Path to a library.
LIB_mad:FILEPATH=/usr/local/lib/libmad.so

// Path to a library.
LIB_ogg:FILEPATH=/usr/local/lib/libogg.so

// Path to a library.
LIB_sndfile:FILEPATH=/usr/local/lib/libsndfile.so

// Path to a library.
LIB_soxr:FILEPATH=/usr/local/lib/libsoxr.so

// Path to a library.
LIB_twolame:FILEPATH=/usr/local/lib/libtwolame.so

// Path to a library.
LIB_vamp-hostsdk:FILEPATH=/usr/local/lib/libvamp-hostsdk.so

// Path to a library.
LIB_vorbis:FILEPATH=/usr/local/lib/libvorbis.so

// Path to a library.
LIB_vorbisenc:FILEPATH=/usr/local/lib/libvorbisenc.so

// Path to a library.
LIB_vorbisfile:FILEPATH=/usr/local/lib/libvorbisfile.so

// Path to a library.
LIB_z:FILEPATH=/usr/lib/libz.so

// Library preference [system (if available), local]
audacity_lib_preference:STRING=system

// Use expat library [system (if available), local]
audacity_use_expat:STRING=system

// Use ffmpeg library [loaded, linked, off]
audacity_use_ffmpeg:STRING=loaded

// Use flac library [system (if available), local, off]
audacity_use_flac:STRING=system

// Use id3tag library [system (if available), local, off]
audacity_use_id3tag:STRING=system

// Use LADSPA plug-in support [on, off]
audacity_use_ladspa:BOOL=ON

// Use lame library [system (if available), local]
audacity_use_lame:STRING=local

// Use lv2 library [system (if available), local, off]
audacity_use_lv2:STRING=local

// Use mad library [system (if available), local, off]
audacity_use_mad:STRING=system

// Use midi library [system (if available), local, off]
audacity_use_midi:STRING=local

// Use nyquist library [local, off]
audacity_use_nyquist:STRING=local

// Use ogg library [system (if available), local, off]
audacity_use_ogg:STRING=system

// Use the portaudio ALSA interface if available
audacity_use_pa_alsa:BOOL=YES

// Use the JACK audio interface if available [loaded, linked, off]
audacity_use_pa_jack:STRING=off

// Use the OSS audio interface if available
audacity_use_pa_oss:BOOL=YES

// Use precompiled headers [yes, no]
audacity_use_pch:BOOL=YES

// Use portaudio library [local]
audacity_use_portaudio:STRING=local

// Use portmixer library [local, off]
audacity_use_portmixer:STRING=local

// Use portsmf library [system (if available), local, off]
audacity_use_portsmf:STRING=local

// Use sbsms library [local, off]
audacity_use_sbsms:STRING=local

// Use sndfile library [system (if available), local]
audacity_use_sndfile:STRING=system

// Use soundtouch library [system (if available), local, off]
audacity_use_soundtouch:STRING=system

// Use soxr library [system (if available), local]
audacity_use_soxr:STRING=system

// Use twolame library [system (if available), local, off]
audacity_use_twolame:STRING=system

// Use vamp library [system (if available), local, off]
audacity_use_vamp:STRING=system

// Use vorbis library [system (if available), local, off]
audacity_use_vorbis:STRING=system

// Use VST2 plug-in support [on, off]
audacity_use_vst:BOOL=ON

// Use wxwidgets library [system (if available), local]
audacity_use_wxwidgets:STRING=system

// Location of wxWidgets library configuration provider binary (wx-config).
wxWidgets_CONFIG_EXECUTABLE:FILEPATH=/usr/local/bin/wx-config

// Use debug build?
wxWidgets_USE_DEBUG:BOOL=OFF

// Location of wxWidgets resource file compiler binary (wxrc)
wxWidgets_wxrc_EXECUTABLE:FILEPATH=/usr/local/bin/wxrc