You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will make the `arch64` and `arch32` conditions available with their respective CMake expressions.
51
+
50
52
You can also prefix most keys with `condition.` to represent a conditional:
51
53
52
54
```toml
@@ -56,7 +58,7 @@ sources = ["src/main.cpp"]
56
58
windows.sources = ["src/windows_specific.cpp"]
57
59
```
58
60
59
-
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):
61
+
The following conditions are predefined (you can override them if you desire):
60
62
61
63
```toml
62
64
[conditions]
@@ -74,7 +76,7 @@ msvc = "MSVC"
74
76
75
77
```toml
76
78
[subdir.mysubdir]
77
-
condition = "linux"
79
+
condition = "mycondition"
78
80
cmake-before = """
79
81
message(STATUS "CMake injected before the add_subdirectory() call"
80
82
"""
@@ -101,11 +103,8 @@ To specify package features you can use the following syntax: `imgui[docking-exp
0 commit comments