Skip to content

Commit

Permalink
Add UI for specifying CMake tools and generators locations
Browse files Browse the repository at this point in the history
Adding UI into CMake Preference page that allow user to specify the
location of the CMake tool and the location of CMake generators.

Addresses Issue: CDT CMake Improvements #1000, IDE-82683-REQ-004 and
IDE-82683-REQ-005
  • Loading branch information
DangMinhTam382 committed Jan 29, 2025
1 parent ba20266 commit 18ad0ef
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ public void modifyText(ModifyEvent evt) {
} catch (IOException e1) {
MessageDialog.openError(getShell(), Messages.CMakePreferencePage_FailToTestCmakeLocation_Title,
Messages.CMakePreferencePage_FailToTestCmakeLocation_Body + e1.getMessage());
Activator.log(e1);
}
});

Expand Down Expand Up @@ -392,7 +393,7 @@ private String resolveVariableValue(String value) {
ICdtVariableManager vm = CCorePlugin.getDefault().getCdtVariableManager();
return vm.resolveValue(value, null, "", null); //$NON-NLS-1$
} catch (CdtVariableException e) {
e.printStackTrace();
Activator.log(e);
}
return null;
}
Expand Down

0 comments on commit 18ad0ef

Please sign in to comment.