25#define __XTD_TARGET_ID_UNKNOWN__ 0
26#define __XTD_TARGET_ID_CONSOLE_APPLICATION__ 1
27#define __XTD_TARGET_ID_GUI_APPLICATION__ 2
28#define __XTD_TARGET_ID_TEST_APPLICATION__ 3
29#define __XTD_TARGET_ID_INTERFACE_LIBRARY__ 4
30#define __XTD_TARGET_ID_MODULE_LIBRARY__ 5
31#define __XTD_TARGET_ID_SHARED_LIBRARY__ 6
32#define __XTD_TARGET_ID_STATIC_LIBRARY__ 7
33#define __XTD_TARGET_ID_CUSTOM_TARGET__ 8
35#if !defined(__XTD_CURRENT_TARGET_ID__)
36#define __XTD_CURRENT_TARGET_ID__ __XTD_TARGET_ID_UNKNOWN__
51 unknown = __XTD_TARGET_ID_UNKNOWN__,
73 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::target_id> {{
xtd::target_id::unknown,
"unknown"}, {
xtd::target_id::console_application,
"console_application"}, {
xtd::target_id::gui_application,
"gui_application"}, {
xtd::target_id::test_application,
"test_application"}, {
xtd::target_id::interface_library,
"interface_library"}, {
xtd::target_id::module_library,
"module_library"}, {
xtd::target_id::shared_library,
"shared_library"}, {
xtd::target_id::static_library,
"static_library"}, {
xtd::target_id::custom_target,
"custom_target"}};}
Contains enum_ and enum_ut_ keywords.
target_id
Identifies the target, supported by an assembly.
Definition target_id.hpp:49
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.hpp:22
@ static_library
The target is static library.
@ custom_target
The target is custom target.
@ test_application
The target is test application.
@ module_library
The target is module library.
@ shared_library
The target is shared library.
@ gui_application
The target is gui application.
@ unknown
The target is unknown.
@ interface_library
The target is interface library.
@ console_application
The target is console application.
@ unknown
The processor architecture is unknown.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38