[CMake] emulating cmake-gui behaviour with cmake commandline on windows

David Cole DLRdave at aol.com
Fri Aug 7 12:47:14 EDT 2015


It's in the bug database here:
http://www.cmake.org/Bug/view.php?id=15134

Not sure how easy it would be to fix...

Also, this CLOSED bug is in there (and some related issues):
http://www.cmake.org/Bug/view.php?id=10072


D



On Fri, Aug 7, 2015 at 12:37 PM, Johannes Schauer <josch at debian.org> wrote:
> Hi,
>
> Quoting David Cole (2015-08-07 18:27:40)
>> Put your source in a sub-directory. CMake simply does not work at the
>> root of a drive letter on Windows. CMakeLists.txt MUST be in at least
>> one sub-directory underneath a root drive letter path.
>
> oh wow that was a simple fix. Thanks for the quick reply!
>
> Is this documented anywhere?
>
> Maybe there could be a warning somewhere if one attempts to have the source
> directory directly at the root of a drive letter on windows?
>
> But then why does it work with cmake-gui on windows?
>
> Is this a bug that can be fixed?
>
> Thanks!
>
> cheers, josch


More information about the CMake mailing list