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