<!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 kind of looks like you're trying to avoid hardcoding the names of
your source files.&nbsp; This might be a bug (in which case, please do file
it - better to file a bogus bug than to let a real one slip by), but in
any case, you probably don't want to do this.&nbsp; Instead, do an "ls" in
your directory to get a list of files, and do a "set(SOURCES)" command
and paste your file list in, or some similar technique.<br>
<br>
See this link for some info on why:<br>
<a class="moz-txt-link-freetext" href="http://www.cmake.org/cmake/help/cmake2.6docs.html#command:aux_source_directory">http://www.cmake.org/cmake/help/cmake2.6docs.html#command:aux_source_directory</a><br>
<br>
Ryan<br>
<br>
On 03/01/2010 09:07 AM, Seelan Vamatheva wrote:
<blockquote
 cite="mid:BA533296D3A50449993E789EB99822AF071569E73A@STARZMAIL1.encore.corp.root"
 type="cite">
  <meta http-equiv="Content-Type"
 content="text/html; charset=ISO-8859-1">
  <meta name="Generator" content="Microsoft Word 12 (filtered medium)">
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
  </style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  <div class="Section1">
  <p class="MsoNormal">Hi,<o:p></o:p></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  <p class="MsoNormal">During the process of porting our build system
to CMake 2.8
(coming from 2.6), I found that the following code returns and empty
list on
linux:<o:p></o:p></p>
  <p class="MsoNormal"><span
 style="font-size: 10pt; font-family: &quot;Courier New&quot;;">file(GLOB
tmp_src "${param}/*.c??")</span><o:p></o:p></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  <p class="MsoNormal">On windows it works well.&nbsp; Also if I use CMake
2.6, it works
well for both windows and linux.&nbsp; The CMake version is: <o:p></o:p></p>
  <p class="MsoNormal">cmake version 2.8.0<o:p></o:p></p>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  <p class="MsoNormal">I apologize if this issue is a bug and has been
fixed, but I
spent quite a bit of time chasing this and have come up with nothing.&nbsp;
Any
ideas?&nbsp; Thanks.<o:p></o:p></p>
  </div>
  <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>