<div dir="ltr">Thanks,<div><br></div><div>that works wonderfully!<div><div><br></div><div> - bram</div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 6, 2016 at 10:33 PM, Craig Scott <span dir="ltr"><<a href="mailto:craig.scott@crascit.com" target="_blank">craig.scott@crascit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Check out the $<SHELL_PATH:...> generator expression. See docs at the bottom of the following page:<div><br></div><div><a href="https://cmake.org/cmake/help/latest/manual/cmake-generator-expressions.7.html" target="_blank">https://cmake.org/cmake/help/<wbr>latest/manual/cmake-generator-<wbr>expressions.7.html</a><br></div><div><br></div><div>Something like $<SHELL_PATH:$<TARGET_FILE_<wbr>DIR:foo>> should work I think.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Dec 7, 2016 at 8:30 AM, Bram de Jong <span dir="ltr"><<a href="mailto:bram.dejong@gmail.com" target="_blank">bram.dejong@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">hi cmake-peoples!<div><br></div><div>CMake v3.7.0: I'm using $<TARGET_FILE_DIR:foo> and $<TARGET_FILE:foo> on Windows and they generate paths with forward slashes... Is there an easy way to convert these to back-slashes?</div><div><div><br></div><div>The testing tool (i.e. via add_test( ) ) I am using expects back-slashes...</div><span class="m_-8712551034413305834HOEnZb"><font color="#888888"><div><br></div><div> - Bram</div><div><br></div>-- <br><div class="m_-8712551034413305834m_-6945957172332625854gmail_signature"><a href="http://www.freesound.org" target="_blank">http://www.freesound.org</a><br><a href="http://www.smartelectronix.com" target="_blank">http://www.smartelectronix.com</a><br><a href="http://www.musicdsp.org" target="_blank">http://www.musicdsp.org</a><br><br>Mobile: <a href="tel:%2B49%20%280%29%20176%2068279940" value="+4917668279940" target="_blank">+49 (0) 176 68279940</a></div>
</font></span></div></div>
<br></div></div>--<br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMak<wbr>e_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/su<wbr>pport.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/co<wbr>nsulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/tr<wbr>aining.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/cmake</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-8712551034413305834gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Craig Scott<br><div>Melbourne, Australia</div><div><a href="https://crascit.com" target="_blank">https://crascit.com</a><br></div></div></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><a href="http://www.freesound.org" target="_blank">http://www.freesound.org</a><br><a href="http://www.smartelectronix.com" target="_blank">http://www.smartelectronix.com</a><br><a href="http://www.musicdsp.org" target="_blank">http://www.musicdsp.org</a><br><br>Mobile: +49 (0) 176 68279940</div>
</div>