summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/WIN32_EXECUTABLE.rst
blob: 336d5f7f38145c405e1b0ea1f91e9b77d1140ac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
WIN32_EXECUTABLE
----------------

Build an executable with a WinMain entry point on windows.

When this property is set to true the executable when linked on
Windows will be created with a WinMain() entry point instead of just
main().  This makes it a GUI executable instead of a console
application.  See the CMAKE_MFC_FLAG variable documentation to
configure use of MFC for WinMain executables.  This property is
initialized by the value of the variable CMAKE_WIN32_EXECUTABLE if it
is set when a target is created.