mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add a build-script + CMake flag to enable/disable building the _Volatile module
This commit is contained in:
@@ -330,6 +330,10 @@ function(_add_target_variant_swift_compile_flags
|
||||
list(APPEND result "-D" "SWIFT_ENABLE_SYNCHRONIZATION")
|
||||
endif()
|
||||
|
||||
if(SWIFT_ENABLE_VOLATILE)
|
||||
list(APPEND result "-D" "SWIFT_ENABLE_VOLATILE")
|
||||
endif()
|
||||
|
||||
if(SWIFT_STDLIB_OS_VERSIONING)
|
||||
list(APPEND result "-D" "SWIFT_RUNTIME_OS_VERSIONING")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user