You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmake/Tests/RunCMake/Swift/CompileCommands.cmake

10 lines
265 B

if(POLICY CMP0157)
cmake_policy(SET CMP0157 NEW)
endif()
set(CMAKE_Swift_COMPILATION_MODE "singlefile")
enable_language(Swift)
add_library(CompileCommandLib STATIC E.swift L.swift)
set_target_properties(CompileCommandLib PROPERTIES EXPORT_COMPILE_COMMANDS YES)