| 1 | /* This file was generated by ConfigHeader using the Zig Build System. */ |
| 2 | // cmakedefine — value is null (undefined) → /* #undef */ |
| 3 | /* #undef NOVAL */ |
| 4 | |
| 5 | // cmakedefine — value is true → #define ... 1 |
| 6 | #define TRUEVAL 1 |
| 7 | |
| 8 | // cmakedefine — value is false → /* #undef */ |
| 9 | /* #undef FALSEVAL */ |
| 10 | |
| 11 | // cmakedefine — value is 0 (falsy) → /* #undef */ |
| 12 | /* #undef ZEROVAL */ |
| 13 | |
| 14 | // cmakedefine — value is 1 (truthy) → #define ... 1 |
| 15 | #define ONEVAL 1 |
| 16 | |
| 17 | // cmakedefine — value is 10 (truthy) → #define ... 1 |
| 18 | #define TENVAL 1 |
| 19 | |
| 20 | // cmakedefine — value is non-empty string (truthy) → #define ... 1 |
| 21 | #define STRINGVAL 1 |
| 22 | |
| 23 | // cmakedefine — leading whitespace preserved in output |
| 24 | #define STRINGVAL 1 |
| 25 | 	#define STRINGVAL 1 |
| 26 | |
| 27 | |
| 28 | // cmakedefine01 — value is {} (defined, no value) → 0 |
| 29 | #define BOOLNOVAL 0 |
| 30 | |
| 31 | // cmakedefine01 — value is true → 1 |
| 32 | #define BOOLTRUEVAL 1 |
| 33 | |
| 34 | // cmakedefine01 — value is false → 0 |
| 35 | #define BOOLFALSEVAL 0 |
| 36 | |
| 37 | // cmakedefine01 — value is 0 (falsy) → 0 |
| 38 | #define BOOLZEROVAL 0 |
| 39 | |
| 40 | // cmakedefine01 — value is 1 (truthy) → 1 |
| 41 | #define BOOLONEVAL 1 |
| 42 | |
| 43 | // cmakedefine01 — value is 10 (truthy) → 1 |
| 44 | #define BOOLTENVAL 1 |
| 45 | |
| 46 | // cmakedefine01 — value is non-empty string (truthy) → 1 |
| 47 | #define BOOLSTRINGVAL 1 |
| 48 | |
| 49 | |
| 50 | // @-substitution — value is null → empty string |
| 51 | // |
| 52 | |
| 53 | // @-substitution — null values produce nothing even when packed |
| 54 | // |
| 55 | |
| 56 | // @-substitution — null values produce nothing even when separated |
| 57 | // . |
| 58 | |
| 59 | // @-substitution — value is true → "1" |
| 60 | // 1 |
| 61 | |
| 62 | // @-substitution — value is false → "0" |
| 63 | // 0 |
| 64 | |
| 65 | // @-substitution — true + false packed → "10" |
| 66 | // 10 |
| 67 | |
| 68 | // @-substitution — false + true separated → "0.1" |
| 69 | // 0.1 |
| 70 | |
| 71 | // @-substitution — value is 0 → "0" |
| 72 | // 0 |
| 73 | |
| 74 | // @-substitution — value is 1 → "1" |
| 75 | // 1 |
| 76 | |
| 77 | // @-substitution — value is 10 → "10" |
| 78 | // 10 |
| 79 | |
| 80 | // @-substitution — 0 + 1 packed → "01" |
| 81 | // 01 |
| 82 | |
| 83 | // @-substitution — 0 + 10 separated → "0.10" |
| 84 | // 0.10 |
| 85 | |
| 86 | // @-substitution — value is string "test" → "test" |
| 87 | // test |
| 88 | |
| 89 | // @-substitution — strings packed → "testtest" |
| 90 | // testtest |
| 91 | |
| 92 | // @-substitution — strings separated → "test.test" |
| 93 | // test.test |
| 94 | |
| 95 | // @-substitution — mixed null/string/true/zero → "test10" |
| 96 | // test10 |
| 97 | |
| 98 | // dollar-curly substitution — value is null → empty string |
| 99 | // |
| 100 | |
| 101 | // dollar-curly substitution — null values produce nothing even when packed |
| 102 | // |
| 103 | |
| 104 | // dollar-curly substitution — null values produce nothing even when separated |
| 105 | // . |
| 106 | |
| 107 | // dollar-curly substitution — value is true → "1" |
| 108 | // 1 |
| 109 | |
| 110 | // dollar-curly substitution — value is false → "0" |
| 111 | // 0 |
| 112 | |
| 113 | // dollar-curly substitution — true + false packed → "10" |
| 114 | // 10 |
| 115 | |
| 116 | // dollar-curly substitution — false + true separated → "0.1" |
| 117 | // 0.1 |
| 118 | |
| 119 | // dollar-curly substitution — value is 0 → "0" |
| 120 | // 0 |
| 121 | |
| 122 | // dollar-curly substitution — value is 1 → "1" |
| 123 | // 1 |
| 124 | |
| 125 | // dollar-curly substitution — value is 10 → "10" |
| 126 | // 10 |
| 127 | |
| 128 | // dollar-curly substitution — 0 + 1 packed → "01" |
| 129 | // 01 |
| 130 | |
| 131 | // dollar-curly substitution — 0 + 10 separated → "0.10" |
| 132 | // 0.10 |
| 133 | |
| 134 | // dollar-curly substitution — value is string "test" → "test" |
| 135 | // test |
| 136 | |
| 137 | // dollar-curly substitution — strings packed → "testtest" |
| 138 | // testtest |
| 139 | |
| 140 | // dollar-curly substitution — strings separated → "test.test" |
| 141 | // test.test |
| 142 | |
| 143 | // dollar-curly substitution — mixed null/string/true/zero → "test10" |
| 144 | // test10 |