Browse Source

Don't build Audio library by default.

Because of the OpenAL dependency.
pull/34/head
Vladimír Vondruš 13 years ago
parent
commit
cfc9620535
  1. 2
      CMakeLists.txt
  2. 11
      doc/building.dox

2
CMakeLists.txt

@ -39,7 +39,7 @@ cmake_dependent_option(TARGET_DESKTOP_GLES "Build for OpenGL ES on desktop" OFF
option(WITH_FIND_MODULE "Install FindMagnum.cmake module into CMake's module dir (might require admin privileges)" OFF)
# Parts of the library
option(WITH_AUDIO "Build Audio library" ON)
option(WITH_AUDIO "Build Audio library" OFF)
option(WITH_DEBUGTOOLS "Build DebugTools library" ON)
cmake_dependent_option(WITH_MESHTOOLS "Build MeshTools library" ON "NOT WITH_DEBUGTOOLS" ON)
cmake_dependent_option(WITH_PRIMITIVES "Builf Primitives library" ON "NOT WITH_DEBUGTOOLS" ON)

11
doc/building.dox

@ -39,8 +39,6 @@ Minimal set of tools and libraries required for building is:
- **Corrade** - Plugin management and utility library. See
@ref building-corrade "Corrade download and installation guide" for more
information.
- **OpenAL** - By default needed by Audio library, but you can disable building
of it by setting `WITH_AUDIO` to `OFF` (see below).
@section building-download Downloading the sources
@ -138,11 +136,12 @@ CMake and C++ sources, see @ref cmake and @ref src/Magnum.h for more
information. See also @ref corrade-cmake and @ref src/Corrade.h for additional
information.
By default the engine is built with everything except application libraries
(see below). Using `WITH_*` CMake parameters you can specify which parts will
be built and which not:
By default the engine is built with nearly everything except Audio library and
application libraries (see below). Using `WITH_*` CMake parameters you can
specify which parts will be built and which not:
- `WITH_AUDIO` - Audio library.
- `WITH_AUDIO` - Audio library. Depends on **OpenAL** library, not built by
default.
- `WITH_DEBUGTOOLS` - DebugTools library. Enables also building of MeshTools,
Primitives, SceneGraph, Shaders and Shapes libraries.
- `WITH_MESHTOOLS` - MeshTools library. Enabled automatically if `WITH_DEBUGTOOLS`

Loading…
Cancel
Save