On 01/18/2011 at 20:54, Alexander Neundorf <a.neundorf-w...@gmx.net> wrote: > On Monday 13 December 2010, Johannes Zarl wrote: >> The three FPHSA calls from above could be written using this syntax as: >> FPHSA(XXX REQUIRED_VARS XXX_LIBRARY XXX_INCLUDE_DIR >> COMPONENTS >> COMPONENT YYY XXX_YYY_LIBRARY XXX_YYY_INCLUDE_DIR >> COMPONENT ZZZ XXX_ZZZ_LIBRARY XXX_ZZZ_INCLUDE_DIR ) >> >> The attached patch implements this syntax for FPHSA. >> >> Is this a desirable extension to FPHSA? > > Can you please add that to http://public.kitware.com/Bug/view.php?id=5920
Done. > > I'm not sure the current version of CMakeParseArguments.cmake supports > listing the same keyword multiple times. That's true. In fact, the signature uses a single multiVAlueArg "COMPONENTS" and then evaluates the "COMPONENT ..." entries using a loop. Cheers, Johannes -- Johannes Zarl Virtual Reality Services Johannes Kepler University Informationsmanagement Altenbergerstrasze 69 4040 Linz, Austria Phone: +43 732 2468-8321 johannes.z...@jku.at http://vrc.zid.jku.at _______________________________________________ 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://www.cmake.org/mailman/listinfo/cmake