• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2017 Rene Rivera
2# Distributed under the Boost Software License, Version 1.0.
3# (See accompanying file LICENSE_1_0.txt or copy at
4# http://www.boost.org/LICENSE_1_0.txt)
5
6import feature ;
7
8#| tag::doc[]
9
10[[bbv2.builtin.features.user-interface]]`user-interface`::
11*Allowed values:* `console`, `gui`, `wince`, `native`, `auto`.
12+
13Specifies the environment for the executable which affects the entry point
14symbol (or entry point function) that the linker will select. This feature is
15Windows-specific.
16+
17`console`::: console application.
18`gui`::: application does not require a console (it is supposed to create its
19  own windows.
20`wince`::: application is intended to run on a device that has a version of the
21  Windows CE kernel.
22`native`::: application runs without a subsystem environment.
23`auto`::: application runs in the POSIX subsystem in Windows.
24
25|# # end::doc[]
26
27feature.feature user-interface
28    : console gui wince native auto ;
29