xtd 0.2.0
Loading...
Searching...
No Matches
target_id.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "enum.hpp"
7
9namespace xtd {
17 enum class target_id {
19 unknown = __XTD_TARGET_ID_UNKNOWN__,
21 console_application = __XTD_TARGET_ID_CONSOLE_APPLICATION__,
23 gui_application = __XTD_TARGET_ID_GUI_APPLICATION__,
25 test_application = __XTD_TARGET_ID_TEST_APPLICATION__,
27 interface_library = __XTD_TARGET_ID_INTERFACE_LIBRARY__,
29 module_library = __XTD_TARGET_ID_MODULE_LIBRARY__,
31 shared_library = __XTD_TARGET_ID_SHARED_LIBRARY__,
33 static_library = __XTD_TARGET_ID_STATIC_LIBRARY__,
35 custom_target = __XTD_TARGET_ID_CUSTOM_TARGET__,
36 };
37}
38
40template<> struct xtd::enum_register<xtd::target_id> {
41 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"}};}
42};
Contains enum_ and enum_ut_ keywords.
std::vector< std::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
target_id
Identifies the target, supported by an assembly.
Definition target_id.hpp:17
@ 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
Contains target id definitions.