[CMake] Bad source directory?

David Cole david.cole at kitware.com
Wed Jul 13 16:56:44 EDT 2011


It looks like OgreTut must have a subdirectory named CONF=Release.

Which is unfortunate, because the fix for this bug:

  http://public.kitware.com/Bug/view.php?id=11689

simply disallows "=" characters in the source directory names.

I'm afraid the only solution here is to rename that directory. You
could possibly try an older version of CMake to see if you can get it
to generate a build system that works despite the "=" character, but
the notes in that bug report make it seem unlikely to work with any
"make"...


HTH,
David


On Wed, Jul 13, 2011 at 4:02 PM, felix jeneau <felix_jeneau at hotmail.com> wrote:
> Hello to all,
>
> I'm trying to use CMake with Netbeans 6.9.  I'm working with Ogre3D and they
> provided a CMakeLists.txt file.  Everything works fine via cmake-gui.exe
> (CMake v2.8), but when I attempt to build my project in Netbeans, it spits
> out:
>
> CMake Error:
>   The path to the source directory:
>     C:/Development/OgreTut/CONF=Release
>   contains unsupported character '='.
>   Please use a different source directory name.
>
> I've scoured the config files and CMake files that were generated, but none
> of them seem to have a reference to this.  I believe it's something as
> simple as a space missing, but I cannot locate where to set this.  The other
> possibility is that "CONF=Release" is supposed to just be "Release," but
> again, I can find no reference to this.  I'm not sure if CONF=Release is on
> the Netbeans or the CMake side.
>
> Any ideas?
>
> thanks,
>
> Felix
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>


More information about the CMake mailing list