I need to generate a C++ header file that describes the compiler used.
Traditionally we used the CMake command:
configure( ${PROJECT_SOURCE_DIR}/configure.h.in ${PROJECT_BINARY_DIR}/configure.h )
which replaces all string sandwiched by "@" (for example @cxx_compiler_name@) with the value of that variable in the cmake build system.
We have been given the requirement to face out CMake, so is there something equivalent in Visual Studio. I'd like to populate the header file with some of the values in the Visual Studio macros.