WIN32_EXECUTABLE.rst 519 B

123456789101112
  1. WIN32_EXECUTABLE
  2. ----------------
  3. Build an executable with a WinMain entry point on windows.
  4. When this property is set to true the executable when linked on
  5. Windows will be created with a WinMain() entry point instead of just
  6. main(). This makes it a GUI executable instead of a console
  7. application. See the CMAKE_MFC_FLAG variable documentation to
  8. configure use of MFC for WinMain executables. This property is
  9. initialized by the value of the variable CMAKE_WIN32_EXECUTABLE if it
  10. is set when a target is created.