Comment définir une option CMake () en ligne de commande

J'ai créé un CMakeLists.txt qui contient les éléments suivants project(P4V) cmake_minimum_required(VERSION 2.6) option(BUILD_STATIC_LIBS "Build the static library" ON) option(BUILD_SHARED_LIBS "Build the shared library" ON) option(BUILD_TESTS "Build test programs" OFF)