man_de_cmake
Différences
Ci-dessous, les différences entre deux révisions de la page.
man_de_cmake [2015/12/22 00:24] – créée simon | man_de_cmake [Date inconnue] (Version actuelle) – supprimée - modification externe (Date inconnue) 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ==== Man de la commande " | ||
- | < | ||
- | CMAKE(1) | ||
- | |||
- | |||
- | |||
- | NAME | ||
- | cmake - CMake Command-Line Reference | ||
- | |||
- | SYNOPSIS | ||
- | cmake [< | ||
- | cmake [(-D< | ||
- | cmake --build <dir> [< | ||
- | cmake -E < | ||
- | cmake --find-package < | ||
- | |||
- | DESCRIPTION | ||
- | The " | ||
- | tion settings may be specified on the command line with the -D option. | ||
- | |||
- | CMake is a cross-platform build system generator. | ||
- | | ||
- | build system for a native tool on their platform. | ||
- | |||
- | OPTIONS | ||
- | -C < | ||
- | Pre-load a script to populate the cache. | ||
- | |||
- | When cmake is first run in an empty build tree, it creates a CMakeCache.txt file and populates it with customizable | ||
- | tings for the project. | ||
- | through the project' | ||
- | file should be a CMake script containing SET commands that use the CACHE option, not a cache-format file. | ||
- | |||
- | -D < | ||
- | Create a cmake cache entry. | ||
- | |||
- | When cmake is first run in an empty build tree, it creates a CMakeCache.txt file and populates it with customizable set‐ | ||
- | tings for the project. | ||
- | The option may be repeated for as many cache entries as desired. | ||
- | |||
- | -U < | ||
- | Remove matching entries from CMake cache. | ||
- | |||
- | This option | ||
- | are supported. | ||
- | |||
- | Use with care, you can make your CMakeCache.txt non-working. | ||
- | |||
- | -G < | ||
- | Specify a build system generator. | ||
- | |||
- | CMake may support multiple native build systems on certain platforms. | ||
- | ular build system. | ||
- | |||
- | -T < | ||
- | Specify toolset name if supported by generator. | ||
- | |||
- | Some CMake generators | ||
- | ported only on specific generators: | ||
- | |||
- | | ||
- | Xcode >= 3.0 | ||
- | |||
- | See native build system documentation for allowed toolset names. | ||
- | |||
- | | ||
- | Suppress developer warnings. | ||
- | |||
- | Suppress warnings that are meant for the author of the CMakeLists.txt files. | ||
- | |||
- | | ||
- | |||
- | Enable warnings that are meant for the author of the CMakeLists.txt files. | ||
- | |||
- | | ||
- | |||
- | For true platform independence, | ||
- | the usage information. | ||
- | echo_append, | ||
- | ate. | ||
- | ate_symlink. | ||
- | |||
- | | ||
- | List non-advanced cached variables. | ||
- | |||
- | List cache variables will run CMake and list all the variables from the CMake cache that are not marked | ||
- | ADVANCED. | ||
- | of the variables may result in more variables being created. | ||
- | ables. | ||
- | |||
- | | ||
- | Build a CMake-generated project binary tree. | ||
- | |||
- | This abstracts a native build tool's command-line interface with the following options: | ||
- | |||
- | < | ||
- | | ||
- | | ||
- | | ||
- | (To clean only, use --target ' | ||
- | | ||
- | | ||
- | |||
- | Run cmake --build with no options for quick help. | ||
- | |||
- | | ||
- | |||
- | Only load the cache. | ||
- | |||
- | -P < | ||
- | Process script mode. | ||
- | |||
- | Process | ||
- | the cache is not modified. | ||
- | |||
- | | ||
- | Run in pkg-config like mode. | ||
- | |||
- | Search a package using find_package() and print the resulting flags to stdout. | ||
- | pkg-config | ||
- | cal/ | ||
- | |||
- | | ||
- | Generate graphviz of dependencies, | ||
- | |||
- | Generate a graphviz input file that will contain all the library and executable dependencies in the project. | ||
- | umentation for CMakeGraphVizOptions.cmake for more details. | ||
- | |||
- | | ||
- | Dump information about this system. | ||
- | |||
- | Dump a wide range of information about the current system. | ||
- | will dump additional information such as the cache, log files etc. | ||
- | |||
- | | ||
- | Do not delete the try_compile build tree. Only useful on one try_compile at a time. | ||
- | |||
- | Do not delete the files and directories created for try_compile calls. | ||
- | It may however change the results of the try-compiles as old junk from a previous try-compile may cause a different test | ||
- | to either pass or fail incorrectly. | ||
- | |||
- | | ||
- | Put cmake in a debug mode. | ||
- | |||
- | Print extra stuff during the cmake run like stack traces with message(send_error ) calls. | ||
- | |||
- | | ||
- | Put cmake in trace mode. | ||
- | |||
- | Print a trace of all calls made and from where with message(send_error ) calls. | ||
- | |||
- | | ||
- | Warn about uninitialized values. | ||
- | |||
- | Print a warning when an uninitialized variable is used. | ||
- | |||
- | | ||
- | Warn about unused variables. | ||
- | |||
- | Find variables that are declared or set, but not used. | ||
- | |||
- | | ||
- | Don't warn about command line options. | ||
- | |||
- | Don't find variables that are declared on the command line, but not used. | ||
- | |||
- | | ||
- | Find problems with variable usage in system files. | ||
- | |||
- | Normally, unused and uninitialized variables are searched for only in CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR. | ||
- | tells CMake to warn about other files as well. | ||
- | |||
- | | ||
- | Print usage information and exit. | ||
- | |||
- | Usage describes the basic command line interface and its options. | ||
- | |||
- | | ||
- | Show program name/ | ||
- | |||
- | If a file is specified, the version is written into it. The help is printed to a named < | ||
- | |||
- | | ||
- | Print all help manuals and exit. | ||
- | |||
- | All manuals are printed in a human-readable text format. | ||
- | |||
- | | ||
- | Print one help manual and exit. | ||
- | |||
- | The specified manual is printed in a human-readable text format. | ||
- | |||
- | | ||
- | List help manuals available and exit. | ||
- | |||
- | The list contains all manuals for which help may be obtained by using the --help-manual option followed by a manual name. | ||
- | The help is printed to a named < | ||
- | |||
- | | ||
- | Print help for one command and exit. | ||
- | |||
- | The cmake-commands(7) manual entry for <cmd> is printed in a human-readable text format. | ||
- | < | ||
- | |||
- | | ||
- | List commands with help available and exit. | ||
- | |||
- | The list contains | ||
- | name. The help is printed to a named < | ||
- | |||
- | | ||
- | Print cmake-commands manual and exit. | ||
- | |||
- | The cmake-commands(7) manual is printed in a human-readable text format. | ||
- | |||
- | | ||
- | Print help for one module and exit. | ||
- | |||
- | The cmake-modules(7) manual entry for <mod> is printed in a human-readable text format. | ||
- | < | ||
- | |||
- | | ||
- | List modules with help available and exit. | ||
- | |||
- | The list contains all modules for which help may be obtained by using the --help-module option followed by a module name. | ||
- | The help is printed to a named < | ||
- | |||
- | | ||
- | Print cmake-modules manual and exit. | ||
- | |||
- | The cmake-modules(7) manual is printed in a human-readable text format. | ||
- | |||
- | | ||
- | Print help for one policy and exit. | ||
- | |||
- | The cmake-policies(7) manual entry for <cmp> is printed in a human-readable text format. | ||
- | < | ||
- | |||
- | | ||
- | List policies with help available and exit. | ||
- | |||
- | The list contains all policies for which help may be obtained by using the --help-policy option followed by a policy name. | ||
- | The help is printed to a named < | ||
- | |||
- | | ||
- | Print cmake-policies manual and exit. | ||
- | |||
- | The cmake-policies(7) manual is printed in a human-readable text format. | ||
- | |||
- | | ||
- | Print help for one property and exit. | ||
- | |||
- | The cmake-properties(7) manual entries for < | ||
- | named < | ||
- | |||
- | | ||
- | List properties with help available and exit. | ||
- | |||
- | The list contains all properties for which help may be obtained by using the --help-property option followed by a property | ||
- | name. The help is printed to a named < | ||
- | |||
- | | ||
- | Print cmake-properties manual and exit. | ||
- | |||
- | The cmake-properties(7) manual is printed in a human-readable text format. | ||
- | given. | ||
- | |||
- | | ||
- | Print help for one variable and exit. | ||
- | |||
- | The cmake-variables(7) manual entry for <var> is printed in a human-readable text format. | ||
- | < | ||
- | |||
- | | ||
- | List variables with help available and exit. | ||
- | |||
- | The list contains all variables for which help may be obtained by using the --help-variable option followed by a variable | ||
- | name. The help is printed to a named < | ||
- | |||
- | | ||
- | Print cmake-variables manual and exit. | ||
- | |||
- | The cmake-variables(7) manual is printed in a human-readable text format. | ||
- | |||
- | SEE ALSO | ||
- | The following resources are available to get help using CMake: | ||
- | |||
- | Home Page | ||
- | http:// | ||
- | |||
- | The primary starting point for learning about CMake. | ||
- | |||
- | | ||
- | http:// | ||
- | |||
- | A Wiki is provided containing answers to frequently asked questions. | ||
- | |||
- | | ||
- | http:// | ||
- | |||
- | Links to available documentation may be found on this web page. | ||
- | |||
- | | ||
- | http:// | ||
- | |||
- | For help and discussion about using cmake, a mailing list is provided at cmake@cmake.org. | ||
- | but one may sign up on the CMake web page. Please first read the full documentation at http:// | ||
- | ing questions to the list. | ||
- | |||
- | COPYRIGHT | ||
- | | ||
- | |||
- | |||
- | |||
- | |||
- | 3.0.2 September 14, 2014 | ||
- | </ |
man_de_cmake.1450743873.txt.gz · Dernière modification : 2020/08/09 12:59 (modification externe)