Re: [CMake] Macro callbacks

2009-05-27 Thread Marcel Loose
Justin, That's not possible with CMake. I posted a similar question a couple of months ago. See this thread: http://www.mail-archive.com/cmake@cmake.org/msg19596.html Regards, Marcel Loose. -Original Message- From: KSpam To: cmake Subject: [CMake] Macro callbacks Date: Tue, 2

[CMake] Macro callbacks

2009-05-26 Thread KSpam
Is it possible to call variable macro names from within another macro? The following is a simple (non-working) example of what I would like to do: macro (do_something callback) # Call the callback macro and pass a message argument ${callback}("Hello world