On 10/18/2013 06:52 AM, Daniele E. Domenichelli wrote: > I'm trying to fix CheckTypeSize to support C++ in the same way I fixed > CheckStructHasMember.
Thanks! > I pushed the topic CheckTypeSize_CXX (including unit tests), can you > review it? The only thing I'm not convinced about is that I used > CMakeParseArguments, since CheckTypeSize already supports an extra > argument (BUILTIN_TYPES_ONLY) and manually parsing the arguments will be > a bit more complicated than for CheckStructHasMember. Do you think I > should parse it instead? If you want to parse it yourself you can follow the state machine convention used in Modules/FortranCInterface and in the C++ implementation of many commands (look for "doing"). Is there a drawback to using CMakeParseArguments? -Brad -- 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
