Files
CMake/Tests/RunCMake/Swift/NoWorkToDo.cmake
Evan Wilde 38c8807c5a Ninja: Avoid re-linking a Swift executable on every build
Swift doesn't emit swiftmodules for executables, so we shouldn't put it
in dependency graph.  Ninja sees the "missing" dependency and always
tries to rebuild/re-link the target.
2022-11-17 13:05:22 -05:00

3 lines
57 B
CMake

enable_language(Swift)
add_executable(hello hello.swift)