<!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 bgcolor="#ffffff" text="#000000">
I'm using version 2.8.0<br>
<br>
Indeed, when I'm doing a small test project, everything works
perfectly. But in my real project, it doesn't so I guess I'm doing
something wrong somewhere. I'll try to isolate the code which cause
this problem.<br>
<br>
Thanks for the help,<br>
Ben.<br>
<br>
On 2010-03-30 10:05, David Cole wrote:
<blockquote
cite="mid:f435c2c51003300705w549ca8aflaf0c39dc5689ebf8@mail.gmail.com"
type="cite">What is the output, if you have a CMakeLists.txt file with
this content:
<div>project(xyz NONE)</div>
<div><br>
</div>
<div>And then run this command in the same dir with the CMakeLists
file:</div>
<div>mkdir build && cd build && cmake --version
&& cmake .. && cd ..</div>
<div><br>
</div>
<div>Mine is:</div>
<div>cmake version 2.8.1</div>
<div>
<div>-- Configuring done</div>
<div>-- Generating done</div>
<div>-- Build files have been written to:
/Users/davidcole/Desktop/xyz/build</div>
<div><br>
</div>
<div>You are correct: using "NONE" in the project statement should
(and does for me) prevent the "compiler works" testing.</div>
<div><br>
</div>
<div><br>
</div>
<div>HTH,</div>
<div>David</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div>
<div class="gmail_quote">On Tue, Mar 30, 2010 at 9:54 AM, Benoit
Thomas <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:benoit.thomas@gameloft.com">benoit.thomas@gameloft.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;">Hello,<br>
<br>
I'm trying to prevent cmake for looking for a valid compiler (since it
currently doesn't find the appropriate compiler and we use cmake to
generate visual studio solutions).<br>
<br>
I've tried using project (name NONE) but it doesn't seems to work; I
also tried other combination like project (name JAVA), etc, but it
always search for a C and C++ compiler.<br>
<br>
Is there any other way to diasble cmake for looking for a valid
compiler ?<br>
<br>
Thank you,<br>
Ben.<br>
<br>
_______________________________________________<br>
Powered by <a moz-do-not-send="true" href="http://www.kitware.com"
target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a moz-do-not-send="true"
href="http://www.kitware.com/opensource/opensource.html"
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a
moz-do-not-send="true" href="http://www.cmake.org/Wiki/CMake_FAQ"
target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true"
href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</body>
</html>