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/ForceResponseFile.cmake

14 lines
293 B

if(POLICY CMP0157)
cmake_policy(SET CMP0157 NEW)
endif()
if(NOT CMAKE_GENERATOR STREQUAL "Ninja")
message(SEND_ERROR "this test must use Ninja generator, found ${CMAKE_GENERATOR} ")
endif()
set(CMAKE_NINJA_FORCE_RESPONSE_FILE TRUE)
enable_language(Swift)
add_library(L STATIC L.swift)