[odb-users] ODB_MSC_VER

Boris Kolpackov boris at codesynthesis.com
Tue Jul 19 11:37:20 EDT 2016


Hi Tiago,

Tiago Macarios <tiagomacarios at gmail.com> writes:

> Just out of curiosity why some of the test pass the Visual Studio version
> to odb?
> 
>  odb.exe [...] -DODB_MSC_VER=1700 [...]

In tests when compiling a header with the ODB compiler we often need to
know whether this is a C++11 build or not. ODB_MSC_VER is how we convey
this information when building with VS. You can see how it is used in
odb-tests/libcommon/common/config-vc.h.

Boris



More information about the odb-users mailing list