summaryrefslogtreecommitdiff
path: root/share/cmake-3.18/Help/prop_tgt/WIN32_EXECUTABLE.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.18/Help/prop_tgt/WIN32_EXECUTABLE.rst')
-rw-r--r--share/cmake-3.18/Help/prop_tgt/WIN32_EXECUTABLE.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/share/cmake-3.18/Help/prop_tgt/WIN32_EXECUTABLE.rst b/share/cmake-3.18/Help/prop_tgt/WIN32_EXECUTABLE.rst
new file mode 100644
index 0000000..060d166
--- /dev/null
+++ b/share/cmake-3.18/Help/prop_tgt/WIN32_EXECUTABLE.rst
@@ -0,0 +1,13 @@
+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 :variable:`CMAKE_MFC_FLAG` variable documentation to
+configure use of the Microsoft Foundation Classes (MFC) for WinMain
+executables. This property is initialized by the value of the
+:variable:`CMAKE_WIN32_EXECUTABLE` variable if it is set when
+a target is created.