This will make the `arch64` and `arch32` conditions available with their respective CMake expressions.
You can also prefix most keys with `condition.` to represent a conditional:
You can also prefix most keys with `condition.` to represent a conditional:
```toml
```toml
@ -56,7 +58,7 @@ sources = ["src/main.cpp"]
windows.sources = ["src/windows_specific.cpp"]
windows.sources = ["src/windows_specific.cpp"]
```
```
This will make the `arch64` and `arch32` conditions available with their respective CMake expressions. The following conditions are predefined (you can override them if you desire):
The following conditions are predefined (you can override them if you desire):
```toml
```toml
[conditions]
[conditions]
@ -74,7 +76,7 @@ msvc = "MSVC"
```toml
```toml
[subdir.mysubdir]
[subdir.mysubdir]
condition = "linux"
condition = "mycondition"
cmake-before = """
cmake-before = """
message(STATUS "CMake injected before the add_subdirectory() call"
message(STATUS "CMake injected before the add_subdirectory() call"
"""
"""
@ -101,11 +103,8 @@ To specify package features you can use the following syntax: `imgui[docking-exp