Alan W. Irwin wrote:

> So is it recommended that a two-step procedure be used to configure
> a file?  For example:

Yes, that seems to be a valid thing to do.

> If the above complications for configured files are the only way to
> deal with a mixture of @...@ items and generator expressions to
> configure, could a change to configure_file so that it honors
> generator expressions be implemented to avoid these complications?

Nope, generator expressions are only available at generate-time, but 
configure_file is evaluated before that.

Thanks,

Steve.



-- 

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

Reply via email to