<div dir="ltr">Hi,<br><br>Look at FILE and STRING commands.<br><br>Andy<br><br><div class="gmail_quote">On Tue, Oct 14, 2008 at 7:29 AM, Nicolas Desprès <span dir="ltr"><<a href="mailto:nicolas.despres@gmail.com">nicolas.despres@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi everyone,<br>
<br>
I'm using cmake 2.6.2 for win32 and I'm trying to configure a .bat<br>
file. I use a couple of cmake variable in my .<a href="http://bat.in" target="_blank">bat.in</a> template such as<br>
CMAKE_CURRENT_BINARY_DIR. The problem is that I have to convert every<br>
variable used in the template and containing a cmake path to a native<br>
path before to configure the file. Currently, I'm using a wrapper<br>
around configure_file to do the tricks but it is very cumbersome.<br>
<br>
Does any one know a better way to deal with this issue?<br>
Is there any chance to have an option to configure_file that do the tricks?<br>
<br>
Best regards,<br>
<font color="#888888"><br>
--<br>
Nicolas Desprès<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Lets bike the world together<br><a href="http://legoandy.com">http://legoandy.com</a><br>
</div>