Skip to content

Commit efe4a4a

Browse files
committed
Emit module interface
1 parent da214be commit efe4a4a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/_TestDiscovery/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ target_link_libraries(_TestDiscovery PRIVATE
1717

1818
_swift_testing_install_target(_TestDiscovery)
1919

20+
target_compile_options(_TestDiscovery PRIVATE
21+
-enable-library-evolution
22+
-emit-module-interface -emit-module-interface-path $<TARGET_PROPERTY:_TestDiscovery,Swift_MODULE_DIRECTORY>/_TestDiscovery.swiftinterface)
23+
2024
if(NOT BUILD_SHARED_LIBS)
2125
# When building a static library, install the internal library archive
2226
# alongside the main library. In shared library builds, the internal library

0 commit comments

Comments
 (0)