Commit 5ca0cdf7 authored by Christoph Richter's avatar Christoph Richter Committed by Christoph Richter
Browse files

CMakeConfig: Save dependencies in an ordered list

parent f54ba48b
......@@ -49,7 +49,7 @@ public class CMakeConfig {
private CMakeListsCPPViewModel cMakeListsViewModel = new CMakeListsCPPViewModel();
private HashSet<CMakeFindModule> moduleList = new HashSet<>();
private List<CMakeFindModule> moduleList = new ArrayList<>();
private List<String> cmakeCommandList = new ArrayList<>();
......
......@@ -19,7 +19,7 @@ public class CMakeListsCPPViewModel extends ViewModelBase {
// fields
private String compName;
private HashSet<CMakeFindModule> moduleDependencies;
private List<CMakeFindModule> moduleDependencies;
private List<String> cmakeCommandList = new ArrayList<>();
......@@ -35,11 +35,11 @@ public class CMakeListsCPPViewModel extends ViewModelBase {
this.compName = compName;
}
public HashSet<CMakeFindModule> getModuleDependencies() {
public List<CMakeFindModule> getModuleDependencies() {
return moduleDependencies;
}
public void setModuleDependencies(HashSet<CMakeFindModule> moduleDependencies) {
public void setModuleDependencies(List<CMakeFindModule> moduleDependencies) {
this.moduleDependencies = moduleDependencies;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment