1enable_language(Swift) 2add_executable(E E.swift) 3set_target_properties(E PROPERTIES 4 WIN32_EXECUTABLE TRUE) 5