We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccab07f commit d8c8695Copy full SHA for d8c8695
CMakeLists.txt
@@ -22,8 +22,6 @@ if(CMAKE_VERSION VERSION_LESS 3.21)
22
endif()
23
24
25
-set(SWIFT_MODULE_ABI_NAME_PREFIX CACHE STRING "ABI name prefix to avoid name conflicts")
26
-
27
# The subdirectory into which host libraries will be installed.
28
set(SWIFT_HOST_LIBRARIES_SUBDIRECTORY "swift/host")
29
cmake/modules/AddSwiftHostLibrary.cmake
@@ -79,6 +79,7 @@ function(add_swift_syntax_library name)
79
-emit-module-interface-path;${module_interface_file}
80
>)
81
if(SWIFT_MODULE_ABI_NAME_PREFIX)
82
+ # ABI name prefix. this can be used to avoid name conflicts.
83
target_compile_options("${name}" PRIVATE
84
$<$<COMPILE_LANGUAGE:Swift>:
85
"SHELL:-Xfrontend -module-abi-name"
0 commit comments