My guess is there's a "not" missing between "would" and "result in MY_INSTALL_DESTINATION set to"
Petr On Tue, Feb 24, 2015 at 12:05 PM, Marcel Loose <lo...@astron.nl> wrote: > Hi all, > > Several times I've read the last paragraph of the documentation of module > CMakeParseArguments, but I can't get my head around it. > > Keywords terminate lists of values, e.g. if directly after a > one_value_keyword another recognized keyword follows, this is interpreted > as the beginning of the new option. E.g. my_install(TARGETS foo DESTINATION > OPTIONAL) would result in MY_INSTALL_DESTINATION set to “OPTIONAL”, but > MY_INSTALL_DESTINATION would be empty and MY_INSTALL_OPTIONAL would be set > to TRUE therefor. > > Huh? [...] MY_INSTALL_DESTINATION will be set to "OPTIONAL", but would be > empty [...] ??? > > Reading the first sentence of this paragraph, I concluded that > MY_INSTALL_DESTINATION will be empty, not would be. > > Best regards, > Marcel Loose. > > > -- > > 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 >
-- 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