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 : target_precompile_headers.rst
target_precompile_headers ------------------------- .. versionadded:: 3.16 Add a list of header files to precompile. Precompiling header files can speed up compilation by creating a partially processed version of some header files, and then using that version during compilations rather than repeatedly parsing the original headers. Main Form ^^^^^^^^^ .. code-block:: cmake target_precompile_headers(<target> <INTERFACE|PUBLIC|PRIVATE> [header1...] [<INTERFACE|PUBLIC|PRIVATE> [header2...] ...]) The command adds header files to the :prop_tgt:`PRECOMPILE_HEADERS` and/or :prop_tgt:`INTERFACE_PRECOMPILE_HEADERS` target properties of ``<target>``. The named ``<target>`` must have been created by a command such as :command:`add_executable` or :command:`add_library` and must not be an :ref:`ALIAS target <Alias Targets>`. The ``INTERFACE``, ``PUBLIC`` and ``PRIVATE`` keywords are required to specify the scope of the following arguments. ``PRIVATE`` and ``PUBLIC`` items will populate the :prop_tgt:`PRECOMPILE_HEADERS` property of ``<target>``. ``PUBLIC`` and ``INTERFACE`` items will populate the :prop_tgt:`INTERFACE_PRECOMPILE_HEADERS` property of ``<target>`` (:ref:`IMPORTED targets <Imported Targets>` only support ``INTERFACE`` items). Repeated calls for the same ``<target>`` will append items in the order called. Projects should generally avoid using ``PUBLIC`` or ``INTERFACE`` for targets that will be :ref:`exported <install(EXPORT)>`, or they should at least use the :genex:`$<BUILD_INTERFACE:...>` generator expression to prevent precompile headers from appearing in an installed exported target. Consumers of a target should typically be in control of what precompile headers they use, not have precompile headers forced on them by the targets being consumed (since precompile headers are not typically usage requirements). A notable exception to this is where an :ref:`interface library <Interface Libraries>` is created to define a commonly used set of precompile headers in one place and then other targets link to that interface library privately. In this case, the interface library exists specifically to propagate the precompile headers to its consumers and the consumer is effectively still in control, since it decides whether to link to the interface library or not. The list of header files is used to generate a header file named ``cmake_pch.h|xx`` which is used to generate the precompiled header file (``.pch``, ``.gch``, ``.pchi``) artifact. The ``cmake_pch.h|xx`` header file will be force included (``-include`` for GCC, ``/FI`` for MSVC) to all source files, so sources do not need to have ``#include "pch.h"``. Header file names specified with angle brackets (e.g. ``<unordered_map>``) or explicit double quotes (escaped for the :manual:`cmake-language(7)`, e.g. ``[["other_header.h"]]``) will be treated as is, and include directories must be available for the compiler to find them. Other header file names (e.g. ``project_header.h``) are interpreted as being relative to the current source directory (e.g. :variable:`CMAKE_CURRENT_SOURCE_DIR`) and will be included by absolute path. For example: .. code-block:: cmake target_precompile_headers(myTarget PUBLIC project_header.h PRIVATE [["other_header.h"]] <unordered_map> ) Arguments to ``target_precompile_headers()`` may use "generator expressions" with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)` manual for available expressions. The :genex:`$<COMPILE_LANGUAGE:...>` generator expression is particularly useful for specifying a language-specific header to precompile for only one language (e.g. ``CXX`` and not ``C``). In this case, header file names that are not explicitly in double quotes or angle brackets must be specified by absolute path. Also, when specifying angle brackets inside a generator expression, be sure to encode the closing ``>`` as ``$<ANGLE-R>``. For example: .. code-block:: cmake target_precompile_headers(mylib PRIVATE "$<$<COMPILE_LANGUAGE:CXX>:${CMAKE_CURRENT_SOURCE_DIR}/cxx_only.h>" "$<$<COMPILE_LANGUAGE:C>:<stddef.h$<ANGLE-R>>" "$<$<COMPILE_LANGUAGE:CXX>:<cstddef$<ANGLE-R>>" ) Reusing Precompile Headers ^^^^^^^^^^^^^^^^^^^^^^^^^^ The command also supports a second signature which can be used to specify that one target re-uses a precompiled header file artifact from another target instead of generating its own: .. code-block:: cmake target_precompile_headers(<target> REUSE_FROM <other_target>) This form sets the :prop_tgt:`PRECOMPILE_HEADERS_REUSE_FROM` property to ``<other_target>`` and adds a dependency such that ``<target>`` will depend on ``<other_target>``. CMake will halt with an error if the :prop_tgt:`PRECOMPILE_HEADERS` property of ``<target>`` is already set when the ``REUSE_FROM`` form is used. .. note:: The ``REUSE_FROM`` form requires the same set of compiler options, compiler flags and compiler definitions for both ``<target>`` and ``<other_target>``. Some compilers (e.g. GCC) may issue a warning if the precompiled header file cannot be used (``-Winvalid-pch``). See Also ^^^^^^^^ To disable precompile headers for specific targets, see the :prop_tgt:`DISABLE_PRECOMPILE_HEADERS` target property. To prevent precompile headers from being used when compiling a specific source file, see the :prop_sf:`SKIP_PRECOMPILE_HEADERS` source file property.
Close