[CMake] Passing Macro Arguments to configure_file

2009-02-04 Thread Michael Jackson
Not sure what I am doing wrong but here is my problem. I have a macro that takes a few arguments. Within the macro I am calling configure_file and in the file that gets configured I am using the values of the arguments. Unfortunately after the file is configured during cmake time the

Re: [CMake] Passing Macro Arguments to configure_file

2009-02-04 Thread David Cole
There is no variable named variable inside your macro. There is sort of like a pre-processor token that gets substituted in every place ${variable} is referenced as the macro is expanded for use. (Not exactly alike, but very similar to the C pre-processor macro concept... (#define)) If you want a