Supported are man page, HTML, DocBook and plain text. help-commands Print help for all commands and exit.įull documentation specific for all current command is displayed.If a file is specified, the documentation is written into and the output format is determined depending on the filename suffix. If a file is specified, the documentation is written into and the output format is determined depending on the filename suffix. The list contains all commands for which help may be obtained by using the -help-command argument followed by a command name. help-command-list List available listfile commands and exit. help-command cmd Print help for a single command and exit.įull documentation specific to the given command is displayed. Print a trace of all calls made and from where with message(send_error ) calls. Print extra stuff during the cmake run like stack traces with message(send_error ) calls. This is useful in debugging failed try_compiles. debug-trycompile Do not delete the try compile directories.ĭo not delete the files and directories created for try_compile calls. If run from the top of a binary tree for a CMake project it will dump additional information such as the cache, log files etc. system-information Dump information about this system.ĭump a wide range of information about the current system. Generate a graphviz input file that will contain all the library and executable dependencies in the project. graphviz= Generate graphviz of dependencies. If variables are defined using -D, this must be done before the -P argument. No configure or generate step is performed and the cache is not modified. Process the given cmake file as a script written in the CMake language. Do not actually run configure and generate steps. If H is specified, it will also display help for each variable. If A is specified, then it will display also advanced variables. Changing some of the variable may result in more variables being created. This will effectively display current CMake settings, which can be then changed with -D option. List cache variables will run CMake and list all the variables from the CMake cache that are not marked as INTERNAL or ADVANCED. The answers are used to set cmake cache values. The user is prompted to answer questions about the project configuration. Wizard mode runs cmake interactively without a GUI. Run with -E help for the usage information. E CMake command mode.įor true platform independence, CMake provides a list of commands that can be used on all systems. Wdev Enable developer warnings.Įnable warnings that are meant for the author of the CMakeLists.txt files. Suppress warnings that are meant for the author of the CMakeLists.txt files. Possible generator names are specified in the Generators section. A makefile generator is responsible for generating a particular build system. G Specify a makefile generator.ĬMake may support multiple native build systems on certain platforms. Use with care, you can make your CMakeCache.txt non-working. The option may be repeated for as many cache entries as desired. This option may be used to remove one or more variables from the CMakeCache.txt file, globbing expressions using * and ? are supported. U Remove matching entries from CMake cache. This option may be used to specify a setting that takes priority over the project's default value. When cmake is first run in an empty build tree, it creates a CMakeCache.txt file and populates it with customizable settings for the project. The given file should be a CMake script containing SET commands that use the CACHE option, not a cache-format file. The loaded entries take priority over the project's default values. This option may be used to specify a file from which to load cache entries before the first pass through the project's cmake listfiles. OPTIONS -C Pre-load a script to populate the cache. Users build a project by using CMake to generate a build system for a native tool on their platform. Projects specify their build process with platform-independent CMake listfiles included in each directory of a source tree with the name CMakeLists.txt. The -i option will cause cmake to interactively prompt for such settings.ĬMake is a cross-platform build system generator. Project configuration settings may be specified on the command line with the -D option. It may be used to configure projects in scripts. The "cmake" executable is the CMake command-line interface. Cmake - Cross-Platform Makefile Generator.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |