Skip to content

Commit 18ad0ef

Browse files
Add UI for specifying CMake tools and generators locations
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
1 parent ba20266 commit 18ad0ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmake/org.eclipse.cdt.cmake.ui/src/org/eclipse/cdt/cmake/ui/internal/CMakePreferencePage.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ public void modifyText(ModifyEvent evt) {
257257
} catch (IOException e1) {
258258
MessageDialog.openError(getShell(), Messages.CMakePreferencePage_FailToTestCmakeLocation_Title,
259259
Messages.CMakePreferencePage_FailToTestCmakeLocation_Body + e1.getMessage());
260+
Activator.log(e1);
260261
}
261262
});
262263

@@ -392,7 +393,7 @@ private String resolveVariableValue(String value) {
392393
ICdtVariableManager vm = CCorePlugin.getDefault().getCdtVariableManager();
393394
return vm.resolveValue(value, null, "", null); //$NON-NLS-1$
394395
} catch (CdtVariableException e) {
395-
e.printStackTrace();
396+
Activator.log(e);
396397
}
397398
return null;
398399
}

0 commit comments

Comments
 (0)