Files
swift-mirror/unittests/Basic/CMakeLists.txt
Jordan Rose 60c3154d95 Add swift::moveFileIfDifferent.
Equivalent to llvm::sys::fs::rename, except that if the destination file
exists and has the same contents as the source file, the source file is
simply deleted and the destination file is not touched.

Used in next commit.

Swift SVN r28041
2015-05-01 17:40:28 +00:00

29 lines
568 B
CMake

set(generated_tests UnicodeGraphemeBreakTest.cpp.gyb)
handle_gyb_sources(
gyb_dependency_targets
generated_tests
${SWIFT_HOST_VARIANT_ARCH})
add_swift_unittest(SwiftBasicTests
ADTTests.cpp
ClusteredBitVectorTest.cpp
Demangle.cpp
EditorPlaceholderTest.cpp
FileSystemTests.cpp
SourceManager.cpp
TreeScopedHashTableTests.cpp
StringExtrasTest.cpp
SuccessorMapTest.cpp
Unicode.cpp
${generated_tests}
)
add_dependencies(SwiftBasicTests "${gyb_dependency_targets}")
target_link_libraries(SwiftBasicTests
swiftBasic
clangBasic
)