diff --git a/CMakeLists.txt b/CMakeLists.txt index 6194898e..b376f288 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,12 +36,6 @@ include(FeatureSummary) FIND_PACKAGE(Doxygen) OPTION(ENABLE_EXAMPLES "Should the examples be built" ON) -SET(LIBRARY_TYPE "DYNAMIC" CACHE STRING "Should the library be STATIC or DYNAMIC") -SET_PROPERTY(CACHE LIBRARY_TYPE PROPERTY STRINGS DYNAMIC STATIC) -IF(WIN32) - SET(LIBRARY_TYPE "STATIC") -ENDIF() - # Qt is required for building the tests, the example and optionally for bundling the documentation find_package(Qt5Test 5.2) find_package(Qt5OpenGL 5.2) @@ -110,7 +104,6 @@ feature_summary(WHAT ALL) MESSAGE(STATUS "") MESSAGE(STATUS "Summary") MESSAGE(STATUS "-------") -MESSAGE(STATUS "Library type: " ${LIBRARY_TYPE}) MESSAGE(STATUS "Build examples: " ${BUILD_EXAMPLES}) MESSAGE(STATUS "Build tests: " ${BUILD_TESTS}) MESSAGE(STATUS "Build bindings: " ${BUILD_BINDINGS}) diff --git a/INSTALL.txt b/INSTALL.txt index 6a4ac20d..a0f48800 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -51,9 +51,6 @@ The other available settings for PolyVox are: ``ENABLE_BINDINGS`` (``ON`` or ``OFF``) Should the Python bindings to PolyVox be built. This requires the Python development libraries and SWIG to be installed. Defaults to ``ON``. -``LIBRARY_TYPE`` (``DYNAMIC`` or ``STATIC``) - Choose whether static (``.a``) or dynamic libraries (``.so``) should be built. On Linux ``DYNAMIC`` is the default and on Windows ``STATIC`` is the default. - ``CMAKE_BUILD_TYPE`` (``Debug``, ``Release``, ``RelWithDebInfo`` or ``MinSizeRel``) String option to set the type of build. This will automatically set some compilation flags such as the optimisation level or define ``NDEBUG``.