Skip to content

Commit

Permalink
README tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmorris committed Jun 24, 2024
1 parent 58ce7b1 commit 16d4dcd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -785,38 +785,54 @@ WITH_FREETYPE=1
The following options may appear in `.php-wasm-rc`.
---
##### PHP_VERSION
8.0|8.1|8.2|**8.3**
---
##### PHP_DIST_DIR
This is the directory where javascript & wasm files will be built to, *relative to the current directory.*
---
##### PHP_ASSET_PATH
This is the directory where shared libs, extension, `.data` files & other supporting files will be built to, *relative to the current directory.* Defaults to `PHP_DIST_DIR`.
---
##### OPTIMIZE
0|1|2|**3**
The optimization level to use while compiling.
---
##### SUBOPTIMIZE
The optimization level to use while compiling libraries. Defaults to `OPTIMIZE`.
---
##### PRELOAD_ASSETS
A list of **absolute paths** to files & directories to build to the `/preload` directory. Will produce a `.data` file.
---
##### ASSERTIONS
0|**1**
Build with/without assertions.
---
#### Extensions
As stated above, extensions may be compiled as `dynamic`, `shared`, or `static`.
Expand Down

0 comments on commit 16d4dcd

Please sign in to comment.