Alexander Neundorf wrote:
> On Tuesday 23 April 2013, Stephen Kelly wrote:
>> Hi,
>>
>> as 2.8.11 will be out soon, I'm returning to some pending features I'd
>> like to get in early in the next release.
>>
>> I've pushed the genex-evaluate-file branch to my clone. It implements the
>> file(EVALUATE) subcommand, which evaluates an input file containing
>> generator expressions and writes the result to an output file:
>>
>> file(EVALUATE "${CMAKE_CURRENT_SOURCE_DIR}/input.txt"
>> "${CMAKE_CURRENT_BINARY_DIR}/output.txt"
>> )
>
>
> is this somehow similar to configure_file() ?
> If so, maybe it could also be a subcommand of that ?
I don't think it should be a subcommand of that. It doesn't use the same
syntax (@syntax@ versus generator expressions), and it is evaluated at
generate-time, not configure-time, so it's not really similar.
Thanks,
Steve.
--
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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers