How to disable/enable certain features with CMake builds?
Brad King
brad.king at kitware.com
Tue Jan 31 16:41:22 CET 2006
Kurt Pfeifle wrote:
> How do I achieve the equivalent to "configure --disable-agg" or
> "--without-agg" or "--enable-agg=no" or similiar with CMake?
In the KDE CMake code there is or will be the line
OPTION(USE_AGG "AGG SUpport" ON)
which creates a USE_AGG option for the build. It can either be edited
in the CMake GUI (such as in the curses dialog of ccmake), or set on the
command line with
-DUSE_AGG:BOOL=ON
or
-DUSE_AGG:BOOL=OFF
-Brad
More information about the Kde-buildsystem
mailing list