-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Labels
Description
I would like to propose providing the name of a detected component in a universal macro.
BOOST_LANG_NAMEshall be defined as detected language nameBOOST_ARCH_NAMEshall be defined as detected architecture name
and so on forBOOST_COMP_NAME,BOOST_LIB_C_NAME,BOOST_LIB_STD_NAME,BOOST_LIB_OS_NAME, maybe forBOOST_PLAT_NAME.
The primary use case of this proposal is conveniently printing some build information to the user, allowing better bug reports.
I understand that some of those definitions are ambiguous, for example BOOST_ARCH_NAME could be defined to either BOOST_ARCH_X86_NAME or BOOST_ARCH_X86_64_NAME on x86-64.
In these cases, I would propose using either the 'leaf' names which are the most specific or the first ones detected.
grafikrobot and sleeptightAnsiC