<!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">
Please always also reply to the list, such that other people can
profit from the discussion.<br>
<br>
I can't tell you whether you should keep the lines or comment them
out, that really depends on what they do and whether the code relies
on them. You'll have to give a bit more information...<br>
<br>
Michael<br>
<br>
On 10/26/2010 10:33 AM, sipxuser sipx wrote:
<blockquote
cite="mid:AANLkTinYCg7iSSvy3L_gi4pu+O9Vro+rqjuZWWrbB_4g@mail.gmail.com"
type="cite">
<div>Hi Michael Wild,</div>
<div> </div>
<div>Thank you very much for you kind and rapid reply. Your
answer is very helpful.</div>
<div> </div>
<div>Your meaning is that the 'modulename' refers to
modulename.cmake. But I cannot find that file with extension
'.cmake' at all. So, I guess I should just comment these lines
out. Do you think so? </div>
<div> </div>
<div>Michael HUANG<br>
<br>
</div>
<div class="gmail_quote">On Tue, Oct 26, 2010 at 3:26 PM, Michael
Wild <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:themiwi@gmail.com">themiwi@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="padding-left: 1ex;
margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204,
204, 204);">
<div>
<div class="h5"><br>
On 26. Oct, 2010, at 1:02 , sipxuser sipx wrote:<br>
<br>
> Dear all,<br>
><br>
> I'm a newbie of cmake, and have some troubles in
using the 'include'<br>
> command. I've already include the searching path into
the env veriable PATH.<br>
> But each time running cmake, I always get follow
error messages:<br>
><br>
> CMake Error at CMakeLists.txt: xxx (include):<br>
> include could not find load file:<br>
> xxx_module<br>
><br>
> Can anynone give some advices? Thanks in advance.<br>
><br>
> Michael.<br>
<br>
</div>
</div>
Well, the include command literally tries to include a file
into your CMakeLists.txt file. There are two modes:<br>
<br>
INCLUDE(path/to/file.cmake)<br>
<br>
This mode just includes the file named path/to/file.cmake. If
the path is not absolute, AFAIK it is relative to the
directory containing the current file being processed.<br>
<br>
INCLUDE(modulename)<br>
<br>
In this mode, where modulename is just a single name with no
path component and no extension, searches for the file
modulename.cmake in the directories listed in the variable
CMAKE_MODULE_PATH.<br>
<br>
I hope this helps, otherwise you'll have to provide more
information (e.g. what is it that you're trying to achieve,
show the relevant code, etc.)<br>
<br>
Michael<br>
<font color="#888888"><br>
--<br>
There is always a well-known solution to every human problem
-- neat, plausible, and wrong.<br>
H. L. Mencken<br>
<br>
</font></blockquote>
</div>
<br>
</blockquote>
<br>
</body>
</html>