You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When opening the project properties in a CMake project and selecting the Launch CMake GUI button, cmake-gui is launching but with the wrong source path.
To Reproduce
Steps to reproduce the behaviour:
Go to 'Properties -> CMake'
Click on 'Launch CMake GUI'
Observe the wrong source path
Expected behaviour
The expected source path should be the project source path
Version Information (please complete the following information):
OS -> Linux 6.2.x Arch derivate
Eclipse Version from Help -> About 2023-09, M3
CDT Version -> Latest build from main
Solution
In org.eclipse.cdt.cmake.internal.ui.properties.CMakePropertyPage on line number 137, the -H flag is set to the new cmake-gui process. But -H is the help flag for CMake. The correct flag is -S [0].
Describe the bug
When opening the project properties in a CMake project and selecting the Launch CMake GUI button, cmake-gui is launching but with the wrong source path.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
The expected source path should be the project source path
Version Information (please complete the following information):
Solution
In
org.eclipse.cdt.cmake.internal.ui.properties.CMakePropertyPage
on line number 137, the-H
flag is set to the newcmake-gui
process. But-H
is the help flag for CMake. The correct flag is-S
[0].Refs: [0] https://cmake.org/cmake/help/latest/manual/cmake-gui.1.html#options
I will open up a PR, this is a tiny fix.
The text was updated successfully, but these errors were encountered: