Files
CMake/Tests/RunCMake/Swift/Win32ExecutableDisallowed-stderr.txt
Saleem Abdulrasool b06f4c8a74 Swift: disallow WIN32_EXECUTABLE properties
Currently, the compiler does not synthesize the correct entry point for
the application and passing the subsystem flag does not work the same
way with the Swift linker language.  Add a check to prevent the
application of `WIN32_EXECUTABLE` to Swift executables until they can be
properly supported.  This will prevent the need for a future policy
change.

Closes: #19325
2019-06-03 14:05:10 -04:00

5 lines
216 B
Plaintext

^CMake Error at Win32ExecutableDisallowed.cmake:[0-9]+ \(add_executable\):
WIN32_EXECUTABLE property is not supported on Swift executables
Call Stack \(most recent call first\):
CMakeLists.txt:[0-9]+ \(include\)