Commit 9b2a2f55 authored by Malte Heithoff's avatar Malte Heithoff
Browse files

CMakeFindModule adaptions

parent 864948ae
......@@ -123,10 +123,10 @@ public class CplexSolverGeneratorImplementation implements QPSolverGeneratorImpl
}
public List<CMakeFindModule> getCMakeDependencies() {
CMakeFindModule findIloCplex = new CMakeFindModule("ILOCPLEX", "ilcplex/ilocplex.h", "ilocplex", Arrays.asList("C:/Program Files/IBM/ILOG/CPLEX_Studio128/cplex/include", "/opt/ibm/ILOG/CPLEX_Studio128/cplex/include"), Arrays.asList("C:/Program Files/IBM/ILOG/CPLEX_Studio128/cplex/lib/x64_windows_vs2017/stat_mda", "/opt/ibm/ILOG/CPLEX_Studio128/cplex/lib/x86-64_linux/static_pic"), true, true, true);
CMakeFindModule findConcert = new CMakeFindModule("CONCERT", "ilconcert/ilomodel.h", "concert", Arrays.asList("C:/Program Files/IBM/ILOG/CPLEX_Studio128/concert/include", "/opt/ibm/ILOG/CPLEX_Studio128/concert/include"), Arrays.asList("C:/Program Files/IBM/ILOG/CPLEX_Studio128/concert/lib/x64_windows_vs2017/stat_mda", "/opt/ibm/ILOG/CPLEX_Studio128/concert/lib/x86-64_linux/static_pic"), true, true, true);
CMakeFindModule findCplex = new CMakeFindModule("CPLEX", "", "cplex", new ArrayList<String>(), Arrays.asList("C:/Program Files/IBM/ILOG/CPLEX_Studio128/cplex/lib/x64_windows_vs2017/stat_mda", "/opt/ibm/ILOG/CPLEX_Studio128/cplex/lib/x86-64_linux/static_pic"), false, true, true);
CMakeFindModule findM = new CMakeFindModule("M", "math.h", "m", new ArrayList<String>(), new ArrayList<String>(), true, true, true);
CMakeFindModule findIloCplex = new CMakeFindModule("ILOCPLEX", "ilcplex/ilocplex.h", "ilocplex", Arrays.asList("C:/Program Files/IBM/ILOG/CPLEX_Studio128/cplex/include", "/opt/ibm/ILOG/CPLEX_Studio128/cplex/include"), Arrays.asList("C:/Program Files/IBM/ILOG/CPLEX_Studio128/cplex/lib/x64_windows_vs2017/stat_mda", "/opt/ibm/ILOG/CPLEX_Studio128/cplex/lib/x86-64_linux/static_pic"), new ArrayList(), new ArrayList(), new ArrayList(), true, true, true);
CMakeFindModule findConcert = new CMakeFindModule("CONCERT", "ilconcert/ilomodel.h", "concert", Arrays.asList("C:/Program Files/IBM/ILOG/CPLEX_Studio128/concert/include", "/opt/ibm/ILOG/CPLEX_Studio128/concert/include"), Arrays.asList("C:/Program Files/IBM/ILOG/CPLEX_Studio128/concert/lib/x64_windows_vs2017/stat_mda", "/opt/ibm/ILOG/CPLEX_Studio128/concert/lib/x86-64_linux/static_pic"), new ArrayList(), new ArrayList(), new ArrayList(), true, true, true);
CMakeFindModule findCplex = new CMakeFindModule("CPLEX", "", "cplex", new ArrayList<String>(), Arrays.asList("C:/Program Files/IBM/ILOG/CPLEX_Studio128/cplex/lib/x64_windows_vs2017/stat_mda", "/opt/ibm/ILOG/CPLEX_Studio128/cplex/lib/x86-64_linux/static_pic"), new ArrayList(), new ArrayList(), new ArrayList(), false, true, true);
CMakeFindModule findM = new CMakeFindModule("M", "math.h", "m", new ArrayList<String>(), new ArrayList<String>(), new ArrayList(), new ArrayList(), new ArrayList(), true, true, true);
return Arrays.asList(findIloCplex, findConcert, findCplex, findM);
}
}
......@@ -137,13 +137,13 @@ public class IpoptSolverGeneratorImplementation implements NLPSolverGeneratorImp
}
public List<CMakeFindModule> getCMakeDependencies() {
CMakeFindModule findCPPAD = new CMakeFindModule("CPPAD", "cppad/ipopt/solve.hpp", "", new ArrayList<String>(), new ArrayList<String>(), true, false, true);
CMakeFindModule findIPOpt = new CMakeFindModule("Ipopt", "coin/IpNLP.hpp", "ipopt", new ArrayList<String>(), new ArrayList<String>(), true, true, true);
CMakeFindModule findCoinMumps = new CMakeFindModule("CoinMumps", "", "coinmumps", new ArrayList<String>(), new ArrayList<String>(), false, true, true);
CMakeFindModule findCoinLapack = new CMakeFindModule("CoinLapack", "", "coinlapack", new ArrayList<String>(), new ArrayList<String>(), false, true, true);
CMakeFindModule findCoinBlas = new CMakeFindModule("CoinBlas", "", "coinblas", new ArrayList<String>(), new ArrayList<String>(), false, true, true);
CMakeFindModule findCoinMetis = new CMakeFindModule("CoinMetis", "", "coinmetis", new ArrayList<String>(), new ArrayList<String>(), false, true, true);
CMakeFindModule findGfortran = new CMakeFindModule("GFortran", "", "gfortran", new ArrayList<String>(), new ArrayList<String>(), false, true, true);
CMakeFindModule findCPPAD = new CMakeFindModule("CPPAD", "cppad/ipopt/solve.hpp", "", new ArrayList<String>(), new ArrayList<String>(), new ArrayList(), new ArrayList(), new ArrayList(), true, false, true);
CMakeFindModule findIPOpt = new CMakeFindModule("Ipopt", "coin/IpNLP.hpp", "ipopt", new ArrayList<String>(), new ArrayList<String>(), new ArrayList(), new ArrayList(), new ArrayList(), true, true, true);
CMakeFindModule findCoinMumps = new CMakeFindModule("CoinMumps", "", "coinmumps", new ArrayList<String>(), new ArrayList<String>(), new ArrayList(), new ArrayList(), new ArrayList(), false, true, true);
CMakeFindModule findCoinLapack = new CMakeFindModule("CoinLapack", "", "coinlapack", new ArrayList<String>(), new ArrayList<String>(), new ArrayList(), new ArrayList(), new ArrayList(), false, true, true);
CMakeFindModule findCoinBlas = new CMakeFindModule("CoinBlas", "", "coinblas", new ArrayList<String>(), new ArrayList<String>(), new ArrayList(), new ArrayList(), new ArrayList(), false, true, true);
CMakeFindModule findCoinMetis = new CMakeFindModule("CoinMetis", "", "coinmetis", new ArrayList<String>(), new ArrayList<String>(), new ArrayList(), new ArrayList(), new ArrayList(), false, true, true);
CMakeFindModule findGfortran = new CMakeFindModule("GFortran", "", "gfortran", new ArrayList<String>(), new ArrayList<String>(), new ArrayList(), new ArrayList(), new ArrayList(), false, true, true);
return Arrays.asList(findCPPAD, findIPOpt, findCoinMumps, findCoinLapack, findCoinBlas, findCoinMetis, findGfortran);
}
......
Markdown is supported
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