<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Thanks for the link -- it at least tells me about the error message that I'm receiving.&nbsp; The problem is that I haven't set 'CONF=Release' as part of&nbsp;any&nbsp;directory path.&nbsp; CONF=Release seems to be a configuration flag.&nbsp; I'm thinking that it's supposed to be getting&nbsp;added to the command line like &lt;source&gt; &lt;config&gt;, but instead is getting added as &lt;source&gt;&lt;config&gt;(no space).&nbsp; In&nbsp;NetBeans, whenever I change the project configuration, I can see this change. (ie. setting project config to "debug"&nbsp;results in a source directory error of C:/Development/OgreTut/CONF=Debug)<BR>
&nbsp;<BR>
I cannot find anywhere in the Netbeans configuration where a custom command line has been specified, so I'm&nbsp;at a loss as to how to debug it.&nbsp; The most I could manage was to debug the CMakeLists.txt file with a bunch of 'message' lines spitting out each variable being used.&nbsp; Is there an easy way to see the full CMake&nbsp;command that is actually being&nbsp;executed?<BR>&nbsp;<BR>
<DIV>
&gt; Date: Wed, 13 Jul 2011 16:56:44 -0400<BR>&gt; Subject: Re: [CMake] Bad source directory?<BR>&gt; From: david.cole@kitware.com<BR>&gt; To: felix_jeneau@hotmail.com<BR>&gt; CC: cmake@cmake.org<BR>&gt; <BR>&gt; It looks like OgreTut must have a subdirectory named CONF=Release.<BR>&gt; <BR>&gt; Which is unfortunate, because the fix for this bug:<BR>&gt; <BR>&gt; http://public.kitware.com/Bug/view.php?id=11689<BR>&gt; <BR>&gt; simply disallows "=" characters in the source directory names.<BR>&gt; <BR>&gt; I'm afraid the only solution here is to rename that directory. You<BR>&gt; could possibly try an older version of CMake to see if you can get it<BR>&gt; to generate a build system that works despite the "=" character, but<BR>&gt; the notes in that bug report make it seem unlikely to work with any<BR>&gt; "make"...<BR>&gt; <BR>&gt; <BR>&gt; HTH,<BR>&gt; David<BR>&gt; <BR>&gt; <BR>&gt; On Wed, Jul 13, 2011 at 4:02 PM, felix jeneau &lt;felix_jeneau@hotmail.com&gt; wrote:<BR>&gt; &gt; Hello to all,<BR>&gt; &gt;<BR>&gt; &gt; I'm trying to use CMake with Netbeans 6.9.&nbsp; I'm working with Ogre3D and they<BR>&gt; &gt; provided a CMakeLists.txt file.&nbsp; Everything works fine&nbsp;via cmake-gui.exe<BR>&gt; &gt; (CMake v2.8), but when I attempt to build my project in Netbeans, it spits<BR>&gt; &gt; out:<BR>&gt; &gt;<BR>&gt; &gt; CMake Error:<BR>&gt; &gt; &nbsp; The path to the source directory:<BR>&gt; &gt; &nbsp;&nbsp;&nbsp; C:/Development/OgreTut/CONF=Release<BR>&gt; &gt; &nbsp; contains unsupported character '='.<BR>&gt; &gt; &nbsp; Please use a different source directory name.<BR>&gt; &gt;<BR>&gt; &gt; I've scoured the config files and CMake files that were generated, but none<BR>&gt; &gt; of them seem to have a reference to this.&nbsp; I believe it's something as<BR>&gt; &gt; simple as a space missing, but I cannot locate where to set this.&nbsp; The other<BR>&gt; &gt; possibility is that "CONF=Release" is supposed to just be "Release," but<BR>&gt; &gt; again, I can find no reference to this.&nbsp; I'm not sure if CONF=Release is on<BR>&gt; &gt; the Netbeans or the CMake side.<BR>&gt; &gt;<BR>&gt; &gt; Any ideas?<BR>&gt; &gt;<BR>&gt; &gt; thanks,<BR>&gt; &gt;<BR>&gt; &gt; Felix<BR>&gt; &gt;<BR>&gt; &gt; _______________________________________________<BR>&gt; &gt; Powered by www.kitware.com<BR>&gt; &gt;<BR>&gt; &gt; Visit other Kitware open-source projects at<BR>&gt; &gt; http://www.kitware.com/opensource/opensource.html<BR>&gt; &gt;<BR>&gt; &gt; Please keep messages on-topic and check the CMake FAQ at:<BR>&gt; &gt; http://www.cmake.org/Wiki/CMake_FAQ<BR>&gt; &gt;<BR>&gt; &gt; Follow this link to subscribe/unsubscribe:<BR>&gt; &gt; http://www.cmake.org/mailman/listinfo/cmake<BR>&gt; &gt;<BR></DIV>                                               </div></body>
</html>