We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9764512 + d8c4df5 commit 8d8b460Copy full SHA for 8d8b460
CMakeLists.txt
@@ -68,6 +68,11 @@ message(STATUS "Module triple: ${SWIFT_MODULE_TRIPLE}")
68
add_compile_definitions(
69
$<$<COMPILE_LANGUAGE:Swift>:SWIFT_SYNTAX_ALWAYS_SINGLE_THREADED>
70
)
71
+if (SWIFTSYNTAX_ENABLE_ASSERTIONS)
72
+ add_compile_definitions(
73
+ $<$<COMPILE_LANGUAGE:Swift>:SWIFTSYNTAX_ENABLE_ASSERTIONS>
74
+ )
75
+endif()
76
77
add_subdirectory(Sources)
78
0 commit comments