VirtualBox

source: vbox/trunk/src/VBox/Main/Config.kmk@ 94919

Last change on this file since 94919 was 93410, checked in by vboxsync, 3 years ago

Main: Generate enum value to string conversion functions for the API. Use these for logging instead of the Global::stringify* ones as they are untranslated, the Global:: ones are for use in error message when translated enum value names are desired (questionable).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1# $Id: Config.kmk 93410 2022-01-24 14:45:10Z vboxsync $
2## @file
3# kBuild Configuration file for the Main API.
4#
5
6#
7# Copyright (C) 2013-2022 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18VBOX_MAIN_CONFIG_KMK_INCLUDED = 1
19
20# Include the top-level configure file.
21ifndef VBOX_ROOT_CONFIG_KMK_INCLUDED
22 include $(PATH_ROOT)/Config.kmk
23endif
24
25
26#
27# Globals.
28#
29VBOX_MAIN_APIWRAPPER_DIR := $(abspath $(call TARGET_PATH,VBoxAPIWrap))
30VBOX_MAIN_APIWRAPPER_INCS := $(VBOX_MAIN_APIWRAPPER_DIR)
31
32
33# The header is required by a testcase, that why these defines are here.
34VBOX_XML_SCHEMADEFS_H = $(PATH_TARGET)/Main/SchemaDefs.h
35VBOX_XML_SCHEMADEFS_CPP = $(PATH_TARGET)/Main/SchemaDefs.cpp
36VBOX_XML_SCHEMADEFS_XSL = $(VBOX_PATH_MAIN_SRC)/xml/SchemaDefs.xsl
37
38# These files are also required by a testcase.
39VBOX_AUTOGEN_EVENT_H = $(PATH_TARGET)/Main/VBoxEvents.h
40VBOX_AUTOGEN_EVENT_CPP = $(PATH_TARGET)/Main/VBoxEvents.cpp
41
42# Enum stringify functions.
43VBOX_AUTOGEN_STRINGIFY_ENUMS_H = $(PATH_TARGET)/Main/StringifyEnums.h
44VBOX_AUTOGEN_STRINGIFY_ENUMS_CPP = $(PATH_TARGET)/Main/StringifyEnums.cpp
45
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette