Bug 532419 - Confusing: There are TWO "Build Project" menu entries for cmake projects, but one of them cleans
Summary: Confusing: There are TWO "Build Project" menu entries for cmake projects, but...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-cmake (show other bugs)
Version: 9.4.2   Edit
Hardware: PC Mac OS X
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-13 20:03 EDT by Martin Oberhuber CLA
Modified: 2020-09-04 15:22 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2018-03-13 20:03:58 EDT
Build ID: CDT Photon M6 on Eclipse Photon M6 / MacOSX Sierra 10.12.6

Creating a CDT "CMake" project, there are TWO "Build Project" menu items in the context menu; and the "Hammer" toolbar icon is disabled. This is extremely confusing.

Steps to reproduce:
1. git clone https://github.com/moberhuber/refactor-test-suite.git
2. brew install cmake
3. brew install ninja
4. Install Eclipse and the CMake Preview from the photon m6 repo
5. Launch Eclipse from command-line (to ensure /usr/local/bin is in the PATH)
   --> This is quite confusing, /Applications/CMake.app/Contents/bin should be
       auto-discovered
6. File > New > C/C++ Project : Empty CMake : Browse to refactor-test-suite git
   --> The project name should be filled-in automatically
7. Right-click the generated project
   --> There are TWO "Build Project" items in the context menu (very confusing)
   --> The "Hammer" toolbar icon is disabled
   --> A "build/cmake.debug.macosx.x86_64" folder is generated but build occurs in 
       the build/default folder