Cygwin paths for Cygwin's CMake

19 views
Skip to first unread message

Thomas K.

unread,
Sep 13, 2024, 8:05:05 AM9/13/24
to cmake4eclipse user mailing list
Cygwin's CMake in its current implementation is accepting winows style paths, but actually it doesn't support them. See https://gitlab.kitware.com/cmake/cmake/-/issues/26277

Is there a way to pass Cygwin paths to Cygwin's CMake instead of windows paths? Or insert cygpath in the -B or -S arguments: -S$(cygpath -a -u "C:\\Source")

Some Context:

The plugin launches CMake with:

cmake -DCMAKE_BUILD_TYPE:STRING=Debug -G "Unix Makefiles" -DCMAKE_BUILD_TYPE:STRING=RELEASE -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON "C:\\Source"

but it should be:

cmake -DCMAKE_BUILD_TYPE:STRING=Debug -G "Unix Makefiles" -DCMAKE_BUILD_TYPE:STRING=RELEASE -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON "/cygdrive/c/Source"

cmake4eclipse user mailing list

unread,
Sep 13, 2024, 8:08:45 AM9/13/24
to cmake4eclipse user mailing list
There is no way.
Use the native windows version of cmake provided by cmake.org.
Reply all
Reply to author
Forward
0 new messages