Changeset 33679 in vbox
- Timestamp:
- Nov 2, 2010 10:44:01 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
include/iprt/buildconfig.h (modified) (1 diff)
-
src/VBox/Runtime/Makefile.kmk (modified) (1 diff)
-
src/VBox/Runtime/common/misc/buildconfig.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/buildconfig.h
r28800 r33679 83 83 RTDECL(uint32_t) RTBldCfgVersionBuild(void); 84 84 85 /** 86 * Gets the build target name. 87 * 88 * @returns Read only build target string. 89 */ 90 RTDECL(const char *) RTBldCfgTarget(void); 91 92 /** 93 * Gets the build target architecture name. 94 * 95 * @returns Read only build target architecture string. 96 */ 97 RTDECL(const char *) RTBldCfgTargetArch(void); 98 99 /** 100 * Gets the build target-dot-architecture name. 101 * 102 * @returns Read only build target-dot-architecture string. 103 */ 104 RTDECL(const char *) RTBldCfgTargetDotArch(void); 105 106 /** 107 * Gets the build type name. 108 * 109 * @returns Read only build type string. 110 */ 111 RTDECL(const char *) RTBldCfgType(void); 112 85 113 86 114 /** @} */ -
trunk/src/VBox/Runtime/Makefile.kmk
r33678 r33679 108 108 IPRT_BLDCFG_VERSION_MAJOR=$(VBOX_VERSION_MAJOR) \ 109 109 IPRT_BLDCFG_VERSION_MINOR=$(VBOX_VERSION_MINOR) \ 110 IPRT_BLDCFG_VERSION_BUILD=$(VBOX_VERSION_BUILD) 110 IPRT_BLDCFG_VERSION_BUILD=$(VBOX_VERSION_BUILD) \ 111 IPRT_BLDCFG_TARGET=\"$(KBUILD_TARGET)\" \ 112 IPRT_BLDCFG_TARGET_ARCH=\"$(KBUILD_TARGET_ARCH)\" \ 113 IPRT_BLDCFG_TYPE=\"$(KBUILD_TYPE)\" 111 114 112 115 # -
trunk/src/VBox/Runtime/common/misc/buildconfig.cpp
r28800 r33679 79 79 #endif 80 80 81 82 #ifdef IPRT_BLDCFG_TARGET 83 RTDECL(const char *) RTBldCfgTarget(void) 84 { 85 return IPRT_BLDCFG_TARGET; 86 } 87 #endif 88 89 90 #ifdef IPRT_BLDCFG_TARGET_ARCH 91 RTDECL(const char *) RTBldCfgTargetArch(void) 92 { 93 return IPRT_BLDCFG_TARGET_ARCH; 94 } 95 #endif 96 97 98 #if defined(IPRT_BLDCFG_TARGET) && defined(IPRT_BLDCFG_TARGET_ARCH) 99 RTDECL(const char *) RTBldCfgTargetDotArch(void) 100 { 101 return IPRT_BLDCFG_TARGET "." IPRT_BLDCFG_TARGET_ARCH; 102 } 103 #endif 104 105 106 #ifdef IPRT_BLDCFG_TYPE 107 RTDECL(const char *) RTBldCfgType(void) 108 { 109 return IPRT_BLDCFG_TYPE; 110 } 111 #endif 112
Note:
See TracChangeset
for help on using the changeset viewer.

