Currently, the FindProtobuf.cmake file defines a bunch of super useful functions that invoke protoc on the users behalf, such as PROTOBUF_GENERATE_SELF_DESCRIBING_CPP. As far as I can tell, there is no way to add any of protoc's useful flags, like --descriptor_set_out. I would propose that these functions accept a list of flags to call protoc with.
Does this sound reasonable? Would this be something I could contribute? Thank you, -Peter Mitrano
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers