|
|
@ -44,8 +44,8 @@ You can specify your own conditions and use them in any `condition` field:
|
|
|
|
|
|
|
|
|
|
|
|
```toml
|
|
|
|
```toml
|
|
|
|
[conditions]
|
|
|
|
[conditions]
|
|
|
|
arch64 = "CMAKE_SIZEOF_VOID_P EQUALS 8"
|
|
|
|
arch64 = "CMAKE_SIZEOF_VOID_P EQUAL 8"
|
|
|
|
arch32 = "CMAKE_SIZEOF_VOID_P EQUALS 4"
|
|
|
|
arch32 = "CMAKE_SIZEOF_VOID_P EQUAL 4"
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
This will make the `arch64` and `arch32` conditions available with their respective CMake expressions.
|
|
|
|
This will make the `arch64` and `arch32` conditions available with their respective CMake expressions.
|
|
|
|