xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
target_id_definitions.hpp
Go to the documentation of this file.
1
4
#pragma once
5
7
// The following constants are defined in the file xtd_command.cmake.
8
// If the target project is not built with cmake, each constant will be defined as follows:
9
// | Constant | Value | Description |
10
// | ------------------------------------- | ----- | ---------------------------------- |
11
// | __XTD_TARGET_ID_UNKNOWN__ | 0 | The target is unknown. |
12
// | __XTD_TARGET_ID_CONSOLE_APPLICATION__ | 1 | The target is console application. |
13
// | __XTD_TARGET_ID_GUI_APPLICATION__ | 2 | The target is gui application. |
14
// | __XTD_TARGET_ID_TEST_APPLICATION__ | 3 | The target is test application. |
15
// | __XTD_TARGET_ID_INTERFACE_LIBRARY__ | 4 | The target is interface library. |
16
// | __XTD_TARGET_ID_MODULE_LIBRARY__ | 5 | The target is module library. |
17
// | __XTD_TARGET_ID_SHARED_LIBRARY__ | 6 | The target is shared library. |
18
// | __XTD_TARGET_ID_STATIC_LIBRARY__ | 7 | The target is static library. |
19
// | __XTD_TARGET_ID_CUSTOM_TARGET__ | 8 | The target is custom target. |
20
//
21
// Remarks
22
// if __XTD_CURRENT_TARGET_ID__ id not defined. It will be defined as __XTD_TARGET_ID_UNKNOWN__.
23
24
#define __XTD_TARGET_ID_UNKNOWN__ 0
25
#define __XTD_TARGET_ID_CONSOLE_APPLICATION__ 1
26
#define __XTD_TARGET_ID_GUI_APPLICATION__ 2
27
#define __XTD_TARGET_ID_TEST_APPLICATION__ 3
28
#define __XTD_TARGET_ID_INTERFACE_LIBRARY__ 4
29
#define __XTD_TARGET_ID_MODULE_LIBRARY__ 5
30
#define __XTD_TARGET_ID_SHARED_LIBRARY__ 6
31
#define __XTD_TARGET_ID_STATIC_LIBRARY__ 7
32
#define __XTD_TARGET_ID_CUSTOM_TARGET__ 8
33
34
#if !defined(__XTD_CURRENT_TARGET_ID__)
35
#define __XTD_CURRENT_TARGET_ID__ __XTD_TARGET_ID_UNKNOWN__
36
#endif
Generated on
for xtd by
Gammasoft
. All rights reserved.