<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
This seems like a bug in CMake, perhaps - file it.&nbsp; I'd think it should
convert all discovered paths from headers to cmake-style paths before
working with them.<br>
<br>
Ryan<br>
<br>
On 02/12/2010 09:39 AM, Jeremy Nicholl wrote:
<blockquote cite="mid:815363.9896.qm@web110807.mail.gq1.yahoo.com"
 type="cite">
  <style type="text/css"><!-- DIV {margin:0px;} --></style>
  <div
 style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Yes,
I know. The problem is that it's a system header I'm not really
permitted to modify. <br>
  <br>
  <div
 style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br>
  <div
 style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font
 size="2" face="Tahoma">
  <hr size="1"><b><span style="font-weight: bold;">From:</span></b>
Ryan Pavlik <a class="moz-txt-link-rfc2396E" href="mailto:rpavlik@iastate.edu">&lt;rpavlik@iastate.edu&gt;</a><br>
  <b><span style="font-weight: bold;">To:</span></b> <a class="moz-txt-link-abbreviated" href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
  <b><span style="font-weight: bold;">Sent:</span></b> Thu, February
11, 2010 5:57:58 PM<br>
  <b><span style="font-weight: bold;">Subject:</span></b> Re: [CMake]
Examples of CMAKE_INCLUDE_TRANSFORMS or other transform rules?<br>
  </font><br>
  <meta http-equiv="x-dns-prefetch-control" content="off">
Well, you can really just use forward slashes on all platforms - Not
really an answer to your direct question but might help you with the
underlying situation.<br>
  <br>
Ryan<br>
  <br>
On 02/11/2010 04:18 PM, Jeremy Nicholl wrote:
  <blockquote type="cite">
    <div
 style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Are
there
any examples of how to create transform rules using e.g.
CMAKE_INCLUDE_TRANSFORMS?<br>
I'm using MSYS and I ran into an issue where one of my header files has
the line<br>
#include "foo\bar.h" // Note backslash<br>
In this case, the dependency that gets generated simply appends
"foo\bar.h" to a well-formed MSYS path with forward slashes, and that
seems to mean the file cannot be found. I was wondering if I could
generate a transform rule to simply switch the backslash to a forward
slash for dependency generation purposes, but setting the variable does
not seem to set it when the dependencies are generated (in
DependInfo.cmake, it does not seem to have the variable defined).<br>
    <br>
Thanks for your help.<br>
    </div>
    <br>
    <hr size="1">Looking for the perfect gift?<a moz-do-not-send="true"
 rel="nofollow" target="_blank" href="http://www.flickr.com/gift/"><b>
Give the gift of Flickr!</b></a>
    <pre><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Powered by <a moz-do-not-send="true" rel="nofollow"
 class="moz-txt-link-abbreviated" target="_blank"
 href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a moz-do-not-send="true"
 rel="nofollow" class="moz-txt-link-freetext" target="_blank"
 href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the CMake FAQ at: <a
 moz-do-not-send="true" rel="nofollow" class="moz-txt-link-freetext"
 target="_blank" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a moz-do-not-send="true" rel="nofollow" class="moz-txt-link-freetext"
 target="_blank" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a></pre>
  </blockquote>
  <br>
  <pre class="moz-signature">-- 
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University

<a moz-do-not-send="true" rel="nofollow"
 class="moz-txt-link-abbreviated" ymailto="mailto:rpavlik@iastate.edu"
 target="_blank" href="mailto:rpavlik@iastate.edu">rpavlik@iastate.edu</a>
<a moz-do-not-send="true" rel="nofollow" class="moz-txt-link-freetext"
 target="_blank" href="http://academic.cleardefinition.com">http://academic.cleardefinition.com</a>
Internal VRAC/HCI Site: <a moz-do-not-send="true" rel="nofollow"
 class="moz-txt-link-freetext" target="_blank"
 href="http://tinyurl.com/rpavlik">http://tinyurl.com/rpavlik</a></pre>
  <meta http-equiv="x-dns-prefetch-control" content="on">
  </div>
  </div>
  </div>
  <br>
  <hr size="1">Make your browsing faster, safer, and easier with the
new Internet Explorer&reg; 8. Optimized for Yahoo! <a
 moz-do-not-send="true"
 href="http://downloads.yahoo.com/ca/internetexplorer/"><b>Get it Now
for Free! </b></a>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the CMake FAQ at: <a class="moz-txt-link-freetext" href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University

<a class="moz-txt-link-abbreviated" href="mailto:rpavlik@iastate.edu">rpavlik@iastate.edu</a>
<a class="moz-txt-link-freetext" href="http://academic.cleardefinition.com">http://academic.cleardefinition.com</a>
Internal VRAC/HCI Site: <a class="moz-txt-link-freetext" href="http://tinyurl.com/rpavlik">http://tinyurl.com/rpavlik</a></pre>
</body>
</html>