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

Johannes Schauer josch at debian.org
Fri Aug 7 12:37:40 EDT 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150807/eb53da79/attachment.sig>


More information about the CMake mailing list