Skip to content

Commit 2770424

Browse files
committed
Add the rest of the extensions
1 parent 967a5b0 commit 2770424

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1139
-66
lines changed

cmake/ext/date/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
Configure the `date` extension.
55
6-
This extension is always enabled and cannot be built as shared.
6+
This extension is always enabled.
77
#]=============================================================================]
88

99
project(

cmake/ext/gettext/CMakeLists.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
#[=============================================================================[
2+
# The gettext extension
3+
4+
Configure the `gettext` extension.
5+
6+
## EXT_GETTEXT
7+
8+
* Default: `OFF`
9+
* Values: `ON|OFF`
10+
11+
Enable the extension.
12+
13+
## EXT_GETTEXT_SHARED
14+
15+
* Default: `OFF`
16+
* Values: `ON|OFF`
17+
18+
Build extension as shared.
19+
#]=============================================================================]
20+
121
project(
222
PhpExtensionGettext
323
LANGUAGES C

cmake/ext/gmp/CMakeLists.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
#[=============================================================================[
2+
# The gmp extension
3+
4+
Configure the `gmp` extension.
5+
6+
## EXT_GMP
7+
8+
* Default: `OFF`
9+
* Values: `ON|OFF`
10+
11+
Enable the extension.
12+
13+
## EXT_GMP_SHARED
14+
15+
* Default: `OFF`
16+
* Values: `ON|OFF`
17+
18+
Build extension as shared.
19+
#]=============================================================================]
20+
121
project(
222
PhpExtensionGmp
323
LANGUAGES C

cmake/ext/hash/CMakeLists.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#[=============================================================================[
2+
# The hash extension
3+
4+
Configure the `hash` extension.
5+
6+
This extension is always enabled.
7+
8+
## EXT_HASH_MHASH
9+
10+
:orange_circle: *Deprecated as of PHP 8.1.*
11+
12+
* Default: `OFF`
13+
* Values: `ON|OFF`
14+
15+
Enable the mhash support.
16+
#]=============================================================================]
17+
118
project(
219
PhpExtensionHash
320
LANGUAGES C

cmake/ext/iconv/CMakeLists.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
#[=============================================================================[
2+
# The iconv extension
3+
4+
Configure the `iconv` extension.
5+
6+
## EXT_ICONV
7+
8+
* Default: `ON`
9+
* Values: `ON|OFF`
10+
11+
Enable the extension.
12+
13+
## EXT_ICONV_SHARED
14+
15+
* Default: `OFF`
16+
* Values: `ON|OFF`
17+
18+
Build extension as shared.
19+
#]=============================================================================]
20+
121
project(
222
PhpExtensionIconv
323
LANGUAGES C

cmake/ext/imap/CMakeLists.txt

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
#[=============================================================================[
2+
# The imap extension
3+
4+
Configure the `imap` extension.
5+
6+
## EXT_IMAP
7+
8+
* Default: `OFF`
9+
* Values: `ON|OFF`
10+
11+
Enable the extension.
12+
13+
## EXT_IMAP_SHARED
14+
15+
* Default: `OFF`
16+
* Values: `ON|OFF`
17+
18+
Build extension as shared.
19+
20+
## EXT_IMAP_KERBEROS
21+
22+
* Default: `OFF`
23+
* Values: `ON|OFF`
24+
25+
Explicitly include Kerberos support in the imap extension.
26+
27+
## EXT_IMAP_SSL
28+
29+
* Default: `OFF`
30+
* Values: `ON|OFF`
31+
32+
Explicitly enable SSL support in the imap extension. If c-client dependency is
33+
built with SSL support, this option will be automatically enabled.
34+
#]=============================================================================]
35+
136
project(
237
PhpExtensionImap
338
LANGUAGES C
@@ -24,15 +59,15 @@ cmake_dependent_option(
2459

2560
cmake_dependent_option(
2661
EXT_IMAP_KERBEROS
27-
"Include Kerberos support in imap extension"
62+
"Explicitly include Kerberos support in the imap extension."
2863
OFF
2964
"EXT_IMAP"
3065
OFF
3166
)
3267

3368
cmake_dependent_option(
3469
EXT_IMAP_SSL
35-
"Include SSL support in imap extension"
70+
"Explicitly enable SSL support in the imap extension"
3671
OFF
3772
"EXT_IMAP"
3873
OFF

cmake/ext/intl/CMakeLists.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
#[=============================================================================[
2+
# The intl extension
3+
4+
Configure the `intl` extension.
5+
6+
## EXT_INTL
7+
8+
* Default: `OFF`
9+
* Values: `ON|OFF`
10+
11+
Enable the extension.
12+
13+
## EXT_INTL_SHARED
14+
15+
* Default: `OFF`
16+
* Values: `ON|OFF`
17+
18+
Build extension as shared.
19+
#]=============================================================================]
20+
121
project(
222
PhpExtensionIntl
323
LANGUAGES C

cmake/ext/json/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
#[=============================================================================[
2+
# The json extension
3+
4+
Configure the `json` extension.
5+
6+
This extension is always enabled.
7+
#]=============================================================================]
8+
19
project(
210
PhpExtensionJson
311
LANGUAGES C

cmake/ext/ldap/CMakeLists.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
#[=============================================================================[
2+
# The ldap extension
3+
4+
Configure the `ldap` extension.
5+
6+
## EXT_LDAP
7+
8+
* Default: `OFF`
9+
* Values: `ON|OFF`
10+
11+
Enable the extension.
12+
13+
## EXT_LDAP_SHARED
14+
15+
* Default: `OFF`
16+
* Values: `ON|OFF`
17+
18+
Build extension as shared.
19+
20+
## EXT_LDAP_SASL
21+
22+
* Default: `OFF`
23+
* Values: `ON|OFF`
24+
25+
Build ldap extension with Cyrus SASL support.
26+
#]=============================================================================]
27+
128
project(
229
PhpExtensionLdap
330
LANGUAGES C

cmake/ext/libxml/CMakeLists.txt

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
#[=============================================================================[
2+
# The libxml extension
3+
4+
Configure the `libxml` extension.
5+
6+
## EXT_LIBXML
7+
8+
* Default: `ON`
9+
* Values: `ON|OFF`
10+
11+
Enable the extension.
12+
13+
This extension cannot be built as shared.
14+
#]=============================================================================]
15+
116
project(
217
PhpExtensionLibXml
318
LANGUAGES C
@@ -21,7 +36,6 @@ if(NOT EXT_LIBXML)
2136
return()
2237
endif()
2338

24-
# Extension cannot be built as a SHARED library.
2539
add_library(php_libxml STATIC)
2640

2741
target_sources(

0 commit comments

Comments
 (0)