On 24/09/13 14:18, Brad King wrote: > On 09/24/2013 03:50 AM, Daniele E. Domenichelli wrote: >> It looks like that the signatures are not very consistent... > > Yes, but they all have room for optional keyword-based arguments > following the main arguments. How about > > CHECK_STRUCT_HAS_MEMBER (<struct> <member> <header> <variable> > [LANGUAGE <language>]) > > ? The LANGUAGE keyword will give the argument clear meaning.
Any convention works for me... Perhaps also the other "Check" module should follow the same convention, though. I pushed a commit to the CheckStructHasMember_CXX topic, can you review it? Am I supposed to check for CMAKE_MINIMUM_REQUIRED_VERSION and behave differently depending on the version? Cheers, Daniele -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers