Skip to content

Commit 94e1163

Browse files
committed
Update internal docs
1 parent a64e4fd commit 94e1163

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

cmake/cmake/Extensions.cmake

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,8 @@ https://bugs.php.net/53141
3232
Custom CMake properties:
3333
3434
* PHP_EXTENSION
35-
36-
Target property that designates that the CMake target is a PHP extension.
37-
3835
* PHP_ZEND_EXTENSION
39-
40-
Extensions can utilize this custom target property, which designates the
41-
extension as a Zend extension rather than a standard PHP extension. Zend
42-
extensions function similarly to regular PHP extensions, but they are loaded
43-
using the 'zend_extension' INI directive and possess an internally distinct
44-
structure with additional hooks. Typically employed for advanced
45-
functionalities like debuggers and profilers, Zend extensions offer enhanced
46-
capabilities.
47-
48-
```cmake
49-
set_target_properties(php_ext_<extension_name> PROPERTIES PHP_ZEND_EXTENSION TRUE)
50-
```
51-
5236
* PHP_EXTENSION_<extension>_DEPS
53-
54-
Global property with a list of all dependencies of <extension> (name of the
55-
extension as named in ext directory).
5637
#]=============================================================================]
5738

5839
include_guard(GLOBAL)

cmake/cmake/ThreadSafety.cmake

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@ Result variables:
88
99
Custom CMake properties:
1010
11-
* PHP_THREAD_SAFETY - A custom target property. When thread safety is enabled
12-
(either by the configuration variable PHP_THREAD_SAFETY or automatically by
13-
the apache2handler PHP SAPI, also a custom target property PHP_THREAD_SAFETY
14-
is added to the PHP::config target, which can be then used in generator
15-
expressions during the generation phase to determine thread safety enabled
16-
from the configuration phase. For example, the PHP_EXTENSION_DIR configuration
17-
variable needs to be set depending on the thread safety.
11+
* PHP_THREAD_SAFETY
1812
1913
Including this internal module/file will also add some compile definitions to
2014
achieve POSIX threads conformance. These definitions are today obsolete on all

0 commit comments

Comments
 (0)