mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-20 06:00:30 -06:00
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
5 lines
216 B
Plaintext
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\)
|