OXIESEC PANEL
- Current Dir:
/
/
usr
/
local
/
share
/
cmake-3.26
/
Help
/
command
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
04/04/2023 07:10:49 PM
rwxr-xr-x
📄
DEVICE_LINK_OPTIONS.txt
651 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
FIND_XXX.txt
8.56 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
FIND_XXX_ORDER.txt
446 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
FIND_XXX_REGISTRY_VIEW.txt
1.31 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
FIND_XXX_ROOT.txt
1.41 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
GENEX_NOTE.txt
310 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
LINK_OPTIONS_LINKER.txt
1.07 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
OPTIONS_SHELL.txt
772 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
SUPPORTED_LANGUAGES.txt
753 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
add_compile_definitions.rst
1.04 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
add_compile_options.rst
1.31 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
add_custom_command.rst
20.78 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
add_custom_target.rst
7.4 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
add_definitions.rst
1.38 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
add_dependencies.rst
1 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
add_executable.rst
4.3 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
add_library.rst
11.08 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
add_link_options.rst
1.08 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
add_subdirectory.rst
2.06 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
add_test.rst
3.25 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
aux_source_directory.rst
1.06 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
block.rst
1.81 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
break.rst
208 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
build_command.rst
1.86 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
build_name.rst
430 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
cmake_host_system_information.rst
11.36 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
cmake_language.rst
18.83 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
cmake_minimum_required.rst
3.19 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
cmake_parse_arguments.rst
4.82 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
cmake_path.rst
25.13 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
cmake_policy.rst
5.56 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
configure_file.rst
5.26 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
continue.rst
362 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
create_test_sourcelist.rst
1.52 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
ctest_build.rst
3.23 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
ctest_configure.rst
1.66 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
ctest_coverage.rst
1.62 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
ctest_empty_binary_directory.rst
323 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
ctest_memcheck.rst
1.49 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
ctest_read_custom_files.rst
332 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
ctest_run_script.rst
577 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
ctest_sleep.rst
265 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
ctest_start.rst
3.12 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
ctest_submit.rst
4.01 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
ctest_test.rst
10.23 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
ctest_update.rst
1.34 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
ctest_upload.rst
678 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
define_property.rst
3.3 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
else.rst
129 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
elseif.rst
194 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
enable_language.rst
1.06 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
enable_testing.rst
474 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
endblock.rst
190 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
endforeach.rst
342 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
endfunction.rst
337 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
endif.rst
300 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
endmacro.rst
319 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
endwhile.rst
317 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
exec_program.rst
958 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
execute_process.rst
6.04 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
export.rst
5.6 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
export_library_dependencies.rst
1.13 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
file.rst
45.8 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
find_file.rst
1.55 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
find_library.rst
3.85 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
find_package.rst
32.47 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
find_path.rst
1.84 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
find_program.rst
1.44 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
fltk_wrap_ui.rst
380 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
foreach.rst
3.57 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
function.rst
2.32 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
get_cmake_property.rst
766 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
get_directory_property.rst
1.28 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
get_filename_component.rst
2.54 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
get_property.rst
3.46 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
get_source_file_property.rst
1.96 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
get_target_property.rst
1.15 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
get_test_property.rst
831 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
if.rst
14.6 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
include.rst
1.06 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
include_directories.rst
1.57 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
include_external_msproject.rst
1.09 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
include_guard.rst
1.8 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
include_regular_expression.rst
571 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
install.rst
43.13 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
install_files.rst
1.39 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
install_programs.rst
1.26 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
install_targets.rst
664 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
link_directories.rst
2.53 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
link_libraries.rst
669 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
list.rst
10.1 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
load_cache.rst
1001 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
load_command.rst
686 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
macro.rst
4.77 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
make_directory.rst
306 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
mark_as_advanced.rst
867 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
math.rst
1.19 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
message.rst
8.12 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
option.rst
615 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
output_required_files.rst
680 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
project.rst
6.16 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
qt_wrap_cpp.rst
829 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
qt_wrap_ui.rst
981 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
remove.rst
306 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
remove_definitions.rst
293 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
return.rst
3.21 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
separate_arguments.rst
2.53 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
set.rst
4.39 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
set_directory_properties.rst
630 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
set_property.rst
4.38 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
set_source_files_properties.rst
1.68 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
set_target_properties.rst
758 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
set_tests_properties.rst
624 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
site_name.rst
304 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
source_group.rst
2.18 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
string.rst
18.51 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
subdir_depends.rst
306 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
subdirs.rst
1.05 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
target_compile_definitions.rst
2.15 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
target_compile_features.rst
1.82 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
target_compile_options.rst
2.13 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
target_include_directories.rst
3.57 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
target_link_directories.rst
2.77 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
target_link_libraries.rst
16.66 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
target_link_options.rst
2.14 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
target_precompile_headers.rst
5.6 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
target_sources.rst
7.99 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
try_compile.rst
13.25 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
try_run.rst
5.71 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
unset.rst
1.54 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
use_mangled_mesa.rst
475 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
utility_source.rst
977 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
variable_requires.rst
784 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
variable_watch.rst
1.76 KB
04/04/2023 07:07:49 PM
rw-r--r--
📄
while.rst
891 bytes
04/04/2023 07:07:49 PM
rw-r--r--
📄
write_file.rst
705 bytes
04/04/2023 07:07:49 PM
rw-r--r--
Editing: execute_process.rst
Close
execute_process --------------- Execute one or more child processes. .. code-block:: cmake execute_process(COMMAND <cmd1> [<arguments>] [COMMAND <cmd2> [<arguments>]]... [WORKING_DIRECTORY <directory>] [TIMEOUT <seconds>] [RESULT_VARIABLE <variable>] [RESULTS_VARIABLE <variable>] [OUTPUT_VARIABLE <variable>] [ERROR_VARIABLE <variable>] [INPUT_FILE <file>] [OUTPUT_FILE <file>] [ERROR_FILE <file>] [OUTPUT_QUIET] [ERROR_QUIET] [COMMAND_ECHO <where>] [OUTPUT_STRIP_TRAILING_WHITESPACE] [ERROR_STRIP_TRAILING_WHITESPACE] [ENCODING <name>] [ECHO_OUTPUT_VARIABLE] [ECHO_ERROR_VARIABLE] [COMMAND_ERROR_IS_FATAL <ANY|LAST>]) Runs the given sequence of one or more commands. Commands are executed concurrently as a pipeline, with the standard output of each process piped to the standard input of the next. A single standard error pipe is used for all processes. ``execute_process`` runs commands while CMake is configuring the project, prior to build system generation. Use the :command:`add_custom_target` and :command:`add_custom_command` commands to create custom commands that run at build time. Options: ``COMMAND`` A child process command line. CMake executes the child process using operating system APIs directly: * On POSIX platforms, the command line is passed to the child process in an ``argv[]`` style array. * On Windows platforms, the command line is encoded as a string such that child processes using ``CommandLineToArgvW`` will decode the original arguments. No intermediate shell is used, so shell operators such as ``>`` are treated as normal arguments. (Use the ``INPUT_*``, ``OUTPUT_*``, and ``ERROR_*`` options to redirect stdin, stdout, and stderr.) For **sequential execution** of multiple commands use multiple ``execute_process`` calls each with a single ``COMMAND`` argument. ``WORKING_DIRECTORY`` The named directory will be set as the current working directory of the child processes. ``TIMEOUT`` After the specified number of seconds (fractions allowed), all unfinished child processes will be terminated, and the ``RESULT_VARIABLE`` will be set to a string mentioning the "timeout". ``RESULT_VARIABLE`` The variable will be set to contain the result of last child process. This will be an integer return code from the last child or a string describing an error condition. ``RESULTS_VARIABLE <variable>`` .. versionadded:: 3.10 The variable will be set to contain the result of all processes as a :ref:`semicolon-separated list <CMake Language Lists>`, in order of the given ``COMMAND`` arguments. Each entry will be an integer return code from the corresponding child or a string describing an error condition. ``INPUT_FILE <file>`` ``<file>`` is attached to the standard input pipe of the *first* ``COMMAND`` process. ``OUTPUT_FILE <file>`` ``<file>`` is attached to the standard output pipe of the *last* ``COMMAND`` process. ``ERROR_FILE <file>`` ``<file>`` is attached to the standard error pipe of *all* ``COMMAND`` processes. .. versionadded:: 3.3 If the same ``<file>`` is named for both ``OUTPUT_FILE`` and ``ERROR_FILE`` then it will be used for both standard output and standard error pipes. ``OUTPUT_QUIET``, ``ERROR_QUIET`` The standard output on ``OUTPUT_VARIABLE`` or standard error on ``ERROR_VARIABLE`` are not connected (no variable content). The ``*_FILE`` and ``ECHO_*_VARIABLE`` options are not affected. ``OUTPUT_VARIABLE``, ``ERROR_VARIABLE`` The variable named will be set with the contents of the standard output and standard error pipes, respectively. If the same variable is named for both pipes their output will be merged in the order produced. ``ECHO_OUTPUT_VARIABLE``, ``ECHO_ERROR_VARIABLE`` .. versionadded:: 3.18 The standard output or standard error will not be exclusively redirected to the specified variables. The output will be duplicated into the specified variables and also onto standard output or standard error analogous to the ``tee`` Unix command. .. note:: If more than one ``OUTPUT_*`` or ``ERROR_*`` option is given for the same pipe the precedence is *not specified*. If no ``OUTPUT_*`` or ``ERROR_*`` options are given the output will be shared with the corresponding pipes of the CMake process itself. ``COMMAND_ECHO <where>`` .. versionadded:: 3.15 The command being run will be echo'ed to ``<where>`` with ``<where>`` being set to one of ``STDERR``, ``STDOUT`` or ``NONE``. See the :variable:`CMAKE_EXECUTE_PROCESS_COMMAND_ECHO` variable for a way to control the default behavior when this option is not present. ``ENCODING <name>`` .. versionadded:: 3.8 On Windows, the encoding that is used to decode output from the process. Ignored on other platforms. Valid encoding names are: ``NONE`` Perform no decoding. This assumes that the process output is encoded in the same way as CMake's internal encoding (UTF-8). This is the default. ``AUTO`` Use the current active console's codepage or if that isn't available then use ANSI. ``ANSI`` Use the ANSI codepage. ``OEM`` Use the original equipment manufacturer (OEM) code page. ``UTF8`` or ``UTF-8`` Use the UTF-8 codepage. .. versionadded:: 3.11 Accept ``UTF-8`` spelling for consistency with the `UTF-8 RFC <https://www.ietf.org/rfc/rfc3629>`_ naming convention. ``COMMAND_ERROR_IS_FATAL <ANY|LAST>`` .. versionadded:: 3.19 The option following ``COMMAND_ERROR_IS_FATAL`` determines the behavior when an error is encountered: ``ANY`` If any of the commands in the list of commands fail, the ``execute_process()`` command halts with an error. ``LAST`` If the last command in the list of commands fails, the ``execute_process()`` command halts with an error. Commands earlier in the list will not cause a fatal error.