The preceding procedure builds with the default configuration, which may not be suitable for your needs. For example, the embedded library is not produced. Assume that you want to change the configuration options and compile the embedded library.
You can provide options on the command line:
cmake .. -DWITH_EMBEDDED_SERVER=1
This can be done during the initial configuration or any time later. Options are “sticky;” that is, they are remembered in the CMake cache (the
CMakeCache.txtfile in the build directory).
Configuration using cmake-gui (Windows, Mac OS X, or Linux with cmake-gui installed)
From the build directory, issue this command:
Click the Configure button
Click the Generate button