Gaƫtan Lehmann wrote:

Hi,

Currently with cmake, we can do:

  SET(type "US")
  SET(IUS "tralala")

then writting ${I{type}} is the same than writting ${IUS}. That's very convenient in many cases (and that's the base of WrapITK).
However, it's not possible to do the same with the name of the macro:

  MACRO(DEFINE_PYTHON)
   ...
  ENDMACRO(DEFINE_PYTHON)
  SET(lang PYTHON)

then calling DEFINE_${lang}() doesn't work.

Can I hope to see that feature in the next releases ?

Feature requests can be submitted here:

http://www.cmake.org/Bug

-Brad
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to