I have recently started using git submodules in my projects. I have
had multiple complains from my users It gives me a missing xyz.h
type of error when I try to compile. The reason is that they haven't
initialized the submodules (like it says to do in the readme :) ). Is
there a CMake way to check
if( NOT EXISTS ${MY_SOURCE_DIR}/project/.git )
message( SEND_ERROR The git submodules are not available. Please run
git submodule update --init --recursive
)
endif()
HTH
On 05/09/2012 02:52 PM, David Doria wrote:
I have recently started using git submodules in my projects. I have
had multiple