cmake configure step in ExternalProject_Add makes Visual studio stops
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I used ExternalProject_Add to configure and compile a thirdparty library (log4cplus-1.1.1). The configure step call cmake. This cmake performs some configure check (check if some headers exist, check if some library is present). Some of these check fails (this is a normal thing because some headers are not present under windows).
But when a configure check fails, an error counter is incrementer under visual studio. And when this counter reaches 120, Visual Studio 2008 express stops due to a large number of errors.
To overcome this, I needed to activate BUILD_IN_SOURCE and CONFIGURE_LOG. After that, all the messages from the configure step are not displayed anymore in the visual studio console and the error counter is not incremented anymore. After that, the configure step went fine.