Home
last modified time | relevance | path

Searched +refs:cmake +refs:command +refs:run +refs:help (Results 1 – 25 of 32) sorted by relevance

12

/prebuilts/cmake/linux-x86/share/cmake-3.22/Help/manual/
Dcmake.1.rst1 .. cmake-manual-description: CMake Command-Line Reference
3 cmake(1)
12 cmake [<options>] <path-to-source>
13 cmake [<options>] <path-to-existing-build>
14 cmake [<options>] -S <path-to-source> -B <path-to-build>
17 cmake --build <dir> [<options>] [-- <build-tool-options>]
20 cmake --install <dir> [<options>]
23 cmake --open <dir>
26 cmake [{-D <var>=<value>}...] -P <cmake-script-file>
29 cmake -E <command> [<options>]
[all …]
Dcmake-packages.7.rst1 .. cmake-manual-description: CMake Packages Reference
3 cmake-packages(7)
14 are found with the :command:`find_package` command. The result of
15 using :command:`find_package` is either a set of :prop_tgt:`IMPORTED` targets, or
25 of :command:`find_package` calls is the same:
27 .. code-block:: cmake
35 to :command:`find_package`:
37 .. code-block:: cmake
44 .. code-block:: cmake
54 .. code-block:: cmake
[all …]
/prebuilts/cmake/linux-x86/share/cmake-3.22/Modules/
DCheckFortranSourceRuns.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
11 subsequently be run.
13 .. command:: check_fortran_source_runs
15 .. code-block:: cmake
21 file, linked as an executable and then run. The ``<code>`` must be a Fortran program
24 .. code-block:: cmake
28 This command can help avoid costly build processes when a compiler lacks support
34 If the ``<code>`` could be built and run
42 The underlying check is performed by the :command:`try_run` command. The
50 command before the contents of ``CMAKE_REQUIRED_FLAGS``.
[all …]
DCheckFortranSourceCompiles.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
12 .. command:: check_fortran_source_compiles
14 .. code-block:: cmake
25 .. code-block:: cmake
29 This command can help avoid costly build processes when a compiler lacks support
33 :command:`check_fortran_source_runs` command to actually run the compiled code.
46 The underlying check is performed by the :command:`try_compile` command. The
54 command before the contents of ``CMAKE_REQUIRED_FLAGS``.
71 command (see :command:`try_compile` for further details).
75 command. These can be the name of system libraries or they can be
[all …]
DCheckIncludeFileCXX.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
10 .. command:: CHECK_INCLUDE_FILE_CXX
12 .. code-block:: cmake
22 the way the check is run:
25 string of compile command line flags.
33 a :ref:`;-list <CMake Language Lists>` of options to add to the link command.
36 command. See policy :policy:`CMP0075`.
83 "Run \"cmake --help-policy CMP0075\" for policy details. "
84 "Use the cmake_policy command to set the policy and suppress this warning."
DCheckIncludeFile.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
10 .. command:: CHECK_INCLUDE_FILE
12 .. code-block:: cmake
22 the way the check is run:
25 string of compile command line flags.
33 a :ref:`;-list <CMake Language Lists>` of options to add to the link command.
36 command. See policy :policy:`CMP0075`.
84 "Run \"cmake --help-policy CMP0075\" for policy details. "
85 "Use the cmake_policy command to set the policy and suppress this warning."
DCheckIncludeFiles.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
11 .. command:: CHECK_INCLUDE_FILES
13 .. code-block:: cmake
28 the way the check is run:
31 string of compile command line flags.
39 a :ref:`;-list <CMake Language Lists>` of options to add to the link command.
42 command. See policy :policy:`CMP0075`.
124 "Run \"cmake --help-policy CMP0075\" for policy details. "
125 "Use the cmake_policy command to set the policy and suppress this warning."
DGoogleTest.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
10 This module defines functions to help use the Google Test infrastructure. Two
11 mechanisms for adding tests are provided. :command:`gtest_add_tests` has been
13 :command:`gtest_discover_tests` was introduced in CMake 3.10.
15 The (older) :command:`gtest_add_tests` scans source files to identify tests.
21 The (newer) :command:`gtest_discover_tests` discovers tests by asking the
24 to be re-run when tests change. However, it may not work in a cross-compiling
29 Both commands are intended to replace use of :command:`add_test` to register
38 .. command:: gtest_add_tests
57 re-run to discover any newly added, removed or renamed tests (by default,
[all …]
DFindFLTK2.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
15 FLTK2_WRAP_UI, This enables the FLTK2_WRAP_UI command
43 include(${CMAKE_ROOT}/Modules/FindX11.cmake)
60 set(FLTK2_DIR_STRING "directory containing FLTK2Config.cmake. This is either the root of the build…
77 find_path(FLTK2_DIR FLTK2Config.cmake
95 find_path(FLTK2_DIR fltk/run.h ${FLTK2_INCLUDE_SEARCH_PATH})
106 if(EXISTS ${FLTK2_DIR}/FLTK2Config.cmake)
112 include(${FLTK2_DIR}/FLTK2Config.cmake)
166 # Use location of fluid to help find everything else.
179 …find_path(FLTK2_INCLUDE_DIR fltk/run.h ${FLTK2_INCLUDE_SEARCH_PATH} PATH_SUFFIXES fltk2 fltk2/incl…
DFindXCTest.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
10 Functions to help creating and executing XCTest bundles.
21 .. command:: xctest_add_bundle
32 .. command:: xctest_add_test
35 project to be run by :manual:`ctest(1)`. The test will be named
54 The path to the xctest command line tool used to execute XCTest bundles.
104 include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
DFetchContent.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
19 :command:`ExternalProject_Add` downloads at build time, the
21 configure step to use the content in commands like :command:`add_subdirectory`,
22 :command:`include` or :command:`file` operations.
24 Content population details should be defined separately from the command that
33 .. code-block:: cmake
48 The :command:`FetchContent_MakeAvailable` command ensures the named
52 projects' targets, etc. See the command's documentation for how these steps
68 For such situations, the lower level :command:`FetchContent_GetProperties` and
69 :command:`FetchContent_Populate` commands can be used. These lack the richer
[all …]
DFindQt4.cmake2 # file Copyright.txt or https://cmake.org/licensing for details.
18 .. code-block:: cmake
41 automatically invoked by :manual:`cmake(1)` if the appropriate conditions
42 are met. See :manual:`cmake-qt(7)` for more.
58 those found when executing "moc -help".
66 when executing "uic -help"
74 when executing "rcc -help"
80 creates a rule to run moc on infile and create outfile.
139 executing "qdbuscpp2xml --help"
177 a class uses the Q_OBJECT macro, moc has to run on it. If you don't
[all …]
DFindCUDA.cmake9 in the top-level call to the :command:`project` command, or call the
10 :command:`enable_language` command with ``CUDA``.
31 This script makes use of the standard :command:`find_package` arguments of
37 path and ``REQUIRED`` is specified to :command:`find_package`. To use
39 ``CUDA_BIN_PATH`` before running cmake (e.g.
76 command to be run more than once and in parallel causing cryptic build
79 When the rule is run from multiple targets race conditions can occur on
98 :command:`target_link_libraries` calls. The default is to use no keyword which
99 uses the old "plain" form of :command:`target_link_libraries`. Note that is matters
101 outside - the two forms of :command:`target_link_libraries` cannot be mixed.
[all …]
/prebuilts/cmake/linux-x86/share/cmake-3.22/Help/release/
D3.0.rst23 ``cmake --help-command`` and similar command-line options.
27 - :manual:`cmake-buildsystem(7)`
28 - :manual:`cmake-commands(7)`, replacing ``cmakecommands(1)``
30 - :manual:`cmake-developer(7)`
31 - :manual:`cmake-generator-expressions(7)`
32 - :manual:`cmake-generators(7)`
33 - :manual:`cmake-language(7)`
34 - :manual:`cmake-modules(7)`, replacing ``cmakemodules(1)``
35 - :manual:`cmake-packages(7)`
36 - :manual:`cmake-policies(7)`, replacing ``cmakepolicies(1)``
[all …]
D3.3.rst34 * The :command:`add_dependencies` command learned to allow dependencies
39 * The :command:`execute_process` command learned to support specifying
42 * The :command:`file(GLOB)` and :command:`file(GLOB_RECURSE)` commands
46 * The :command:`find_library`, :command:`find_path`, and :command:`find_file`
50 * The :command:`if` command learned a new ``IN_LIST`` operator that
53 * The :command:`install(EXPORT)` and :command:`export()` commands
57 * The :command:`install(TARGETS)` command learned to support
77 to allow target platform binaries to run on the host during cross
83 to run ``include-what-you-use`` along with the compiler for ``C`` and
121 :manual:`generator expressions <cmake-generator-expressions(7)>`
[all …]
D3.7.rst52 * The :command:`add_custom_command` command gained a new ``DEPFILE``
56 * The :command:`cmake_parse_arguments` command gained a new ``PARSE_ARGV``
58 variables inside a :command:`function` body.
60 * The :command:`export` command gained an ``ANDROID_MK`` option
64 * The :command:`file(DOWNLOAD)` and :command:`file(UPLOAD)` commands gained
67 * The :command:`find_library` and :command:`find_package` commands learned
72 * The :command:`find_package` command gained the possibility of
77 * The :command:`if` command gained new boolean comparison operations
81 * The :command:`install` command gained an ``EXPORT_ANDROID_MK``
85 * The :command:`string(TIMESTAMP)` and :command:`file(TIMESTAMP)`
[all …]
D3.16.rst17 (``OBJCXX``) languages. They may be enabled via the :command:`project`
18 and :command:`enable_language` commands. When ``OBJC`` or ``OBJCXX``
33 to the executable file. Plugins (created via :command:`add_library` with
34 the ``MODULE`` option) that use :command:`target_link_libraries` to link
36 The :command:`install(TARGETS)` command now installs the import file as
52 * :manual:`cmake(1)` ``-E`` now supports ``true`` and ``false`` commands,
55 * :manual:`cmake(1)` gained a ``--trace-redirect=<file>`` command line
59 * The :manual:`cmake(1)` ``--loglevel`` command line option has been
61 command line options. The ``--loglevel`` option is still supported to
67 * The :command:`add_test` command learned the option ``COMMAND_EXPAND_LISTS``
[all …]
D3.1.rst13 * A new :manual:`cmake-compile-features(7)` manual was added.
29 or ``WindowsStore`` on the :manual:`cmake(1)` command-line
40 :manual:`cmake(1)` command-line or in a :variable:`CMAKE_TOOLCHAIN_FILE`
46 * The :manual:`cmake-language(7)` syntax for :ref:`Variable References` and
50 * The :command:`if` command no longer automatically dereferences
57 * The :command:`add_custom_command` command learned to interpret
58 :manual:`cmake-generator-expressions(7)` in arguments to ``DEPENDS``.
60 * The :command:`export(PACKAGE)` command learned to check the
64 * The :command:`file(STRINGS)` command gained a new ``ENCODING``
67 * The :command:`find_package` command learned to check the
[all …]
D3.20.rst16 * :manual:`cmake-presets(7)` gained support for build and test presets.
29 or via the :manual:`Compile Features <cmake-compile-features(7)>`
78 * The :manual:`cmake-file-api(7)` gained a new "toolchains" object
84 * :command:`add_custom_command` and :command:`add_custom_target` now
85 support :manual:`generator expressions <cmake-generator-expressions(7)>`
93 * The :command:`add_custom_command` command gained ``DEPFILE`` support on
96 * The :command:`add_library` command previously prohibited imported object
102 * The :command:`cmake_path` command was added for operations on
105 * The :command:`configure_file` command gained ``USE_SOURCE_PERMISSIONS``
109 * The :command:`file(GENERATE)` command gained a ``NEWLINE_STYLE`` option to
[all …]
D3.14.rst23 must be used, e.g. through the ``-A`` command-line option. Furthermore,
35 calling the :command:`project` command. The top-level project file
41 :command:`install`.
60 has been added. See the :manual:`cmake-file-api(7)` manual.
61 This is intended to replace the :manual:`cmake-server(7)` mode for IDEs.
72 * The :manual:`cmake(1)` :ref:`Build Tool Mode <Build Tool Mode>`
73 (``cmake --build``) gained ``--verbose`` and ``-v`` options to
77 * The :manual:`cmake(1)` ``-E compare_files`` command learned a new
81 * The :manual:`cmake-gui(1)` dialog gained new ``-S`` and ``-B`` arguments to
87 * The :command:`file` command learned a new sub-command, ``CREATE_LINK``,
[all …]
D3.9.rst40 * The :command:`add_library` command ``IMPORTED`` option learned to support
43 * The :command:`find_library` command learned to search ``libx32`` paths
47 * The :command:`include_external_msproject` command learned to use
51 * The :command:`install(TARGETS)` command learned a new ``OBJECTS`` option to
54 * The :command:`install(EXPORT)` command learned how to export
57 * The :command:`project` command learned an optional ``DESCRIPTION``
60 * The :command:`separate_arguments` command gained a ``NATIVE_COMMAND`` mode
80 tell the :command:`find_library` command to search in a ``lib<suffix>``
115 :prop_tgt:`AUTORCC` to be placed in a :command:`source_group`.
146 * A :module:`CheckIPOSupported` module was added to help projects
[all …]
/prebuilts/cmake/linux-x86/share/cmake-3.22/Help/command/
Dexport.rst6 .. code-block:: cmake
12 during cross-compiling to build utility executables that can run on
19 using the ``EXPORT`` option of the :command:`install(TARGETS)` command.
21 The file created by this command is specific to the build tree and
22 should never be installed. See the :command:`install(EXPORT)` command to
28 .. code-block:: cmake
52 .. code-block:: cmake
57 for package ``<PackageName>``. The :command:`find_package` command may consider the
60 without help from the user. Note that the entry in the package
61 registry that this command creates works only in conjunction with a
[all …]
Dinstall.rst4 Specify rules to run at install time.
23 This command generates installation rules for a project. Install rules
24 specified by calls to the ``install()`` command within a source directory
29 added by calls to the :command:`add_subdirectory` command are interleaved
30 with those in the parent directory to run in the order declared (see
35 default copying behavior of :command:`install()`.
37 There are multiple signatures for this command. Some of them define
75 .. code-block:: cmake
105 installed by the command.
130 .. code-block:: cmake
[all …]
/prebuilts/cmake/linux-x86/share/cmake-3.22/Modules/FindCUDA/
Drun_nvcc.cmake5 # This code is licensed under the MIT License. See the FindCUDA.cmake script
33 # file checks the output of each command and if the command fails it deletes the
56 message(FATAL_ERROR "You must specify generated_file on the command line")
69 # order to force this file to be run again if it changes.
88 # Extra quotes are added around each flag to help nvcc parse out flags with spaces.
99 message(FATAL_ERROR "You must specify generated_cubin_file on the command line")
103 # been chosen by FindCUDA.cmake.
115 # Extra quotes are added around each flag to help nvcc parse out flags with spaces.
136 # cuda_execute_process - Executes a command with optional command echo and status message.
139 # command - COMMAND argument from the usual execute_process argument structure
[all …]
/prebuilts/cmake/linux-x86/share/cmake-3.22/Help/cpack_gen/
Difw.rst6 Configure and run the Qt Installer Framework to generate a Qt installer.
26 QtIFW command-line utilities, and defines several commands to
219 You can use :command:`cpack_ifw_add_package_resources` command to resolve
229 '.run', if you do not specify the extension.
242 all repositories added with command :command:`cpack_ifw_add_repository`
243 or updated with command :command:`cpack_ifw_update_repository`.
281 command-line tools as discovered by the module :module:`CPackIFW`.
319 The variable will be cached in the ``CPackConfig.cmake`` file and used at
346 The ``DOWNLOADED`` option in the :command:`cpack_add_component` command
348 option in the :command:`cpack_configure_downloads` command specifies that
[all …]

12