casadi 3.6.7__cp36-none-win_amd64.whl → 3.7.0__cp36-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- casadi/_casadi.pyd +0 -0
- casadi/blasfeo.lib +0 -0
- casadi/casadi-cli.exe +0 -0
- casadi/casadi.lib +0 -0
- casadi/casadi.py +6070 -3038
- casadi/cbc.exe +0 -0
- casadi/clp.exe +0 -0
- casadi/cmake/casadi-config-version.cmake +1 -1
- casadi/cmake/casadi-targets-release.cmake +5 -5
- casadi/cmake/casadi-targets.cmake +5 -5
- casadi/{lib/cmake/tinyxml2/tinyxml2-config-version.cmake → cmake/ghc_filesystem/ghc_filesystem-config-version.cmake} +19 -10
- casadi/cmake/ghc_filesystem/ghc_filesystem-config.cmake +30 -0
- casadi/cmake/ghc_filesystem/ghc_filesystem-targets.cmake +99 -0
- casadi/cmake/highs/highs-config.cmake +1 -0
- casadi/cmake/highs/highs-targets.cmake +2 -2
- casadi/cmake/libzip/libzip-config-version.cmake +48 -0
- casadi/cmake/libzip/libzip-config.cmake +69 -0
- casadi/cmake/libzip/libzip-targets-release.cmake +19 -0
- casadi/{lib/cmake/tinyxml2/tinyxml2-shared-targets.cmake → cmake/libzip/libzip-targets.cmake} +11 -7
- casadi/cmake/libzip/modules/FindMbedTLS.cmake +141 -0
- casadi/cmake/libzip/modules/FindNettle.cmake +141 -0
- casadi/cmake/libzip/modules/Findzstd.cmake +186 -0
- casadi/daqp.lib +0 -0
- casadi/fatrop.lib +0 -0
- casadi/highs.exe +0 -0
- casadi/highs.lib +0 -0
- casadi/hpipm.lib +0 -0
- casadi/include/casadi/casadi.i +194 -44
- casadi/include/casadi/config.h +11 -11
- casadi/include/casadi/core/archiver.hpp +58 -0
- casadi/include/casadi/core/blazing_spline.hpp +47 -0
- casadi/include/casadi/core/calculus.hpp +57 -2
- casadi/include/casadi/core/casadi_common.hpp +37 -0
- casadi/include/casadi/core/casadi_meta.hpp +15 -0
- casadi/include/casadi/core/casadi_misc.hpp +7 -0
- casadi/include/casadi/core/code_generator.hpp +95 -17
- casadi/include/casadi/core/core.hpp +5 -0
- casadi/include/casadi/core/dae_builder.hpp +283 -141
- casadi/include/casadi/core/dm.hpp +3 -0
- casadi/include/casadi/core/filesystem.hpp +58 -0
- casadi/include/casadi/core/fmu.hpp +51 -16
- casadi/include/casadi/core/function.hpp +19 -0
- casadi/include/casadi/core/generic_matrix.hpp +214 -7
- casadi/include/casadi/core/generic_shared.hpp +318 -0
- casadi/include/casadi/core/generic_shared_impl.hpp +214 -0
- casadi/include/casadi/core/generic_shared_internal.hpp +215 -0
- casadi/include/casadi/core/generic_type.hpp +3 -0
- casadi/include/casadi/core/global_options.hpp +10 -0
- casadi/include/casadi/core/integrator.hpp +41 -7
- casadi/include/casadi/core/matrix_decl.hpp +67 -0
- casadi/include/casadi/core/mx.hpp +63 -2
- casadi/include/casadi/core/options.hpp +6 -3
- casadi/include/casadi/core/optistack.hpp +43 -9
- casadi/include/casadi/core/printable.hpp +8 -0
- casadi/include/casadi/core/resource.hpp +107 -0
- casadi/include/casadi/core/runtime/casadi_blazing_1d_boor_eval.hpp +112 -0
- casadi/include/casadi/core/runtime/casadi_blazing_2d_boor_eval.hpp +311 -0
- casadi/include/casadi/core/runtime/casadi_blazing_3d_boor_eval.hpp +645 -0
- casadi/include/casadi/core/runtime/casadi_blazing_de_boor.hpp +101 -0
- casadi/include/casadi/core/runtime/casadi_nlp.hpp +8 -2
- casadi/include/casadi/core/runtime/casadi_printme.hpp +25 -0
- casadi/include/casadi/core/serializer.hpp +12 -4
- casadi/include/casadi/core/serializing_stream.hpp +3 -0
- casadi/include/casadi/core/shared_object.hpp +73 -161
- casadi/include/casadi/core/sparsity.hpp +13 -1
- casadi/include/casadi/core/sparsity_interface.hpp +19 -1
- casadi/include/casadi/core/sx.hpp +41 -0
- casadi/include/casadi/core/sx_elem.hpp +25 -0
- casadi/include/casadi/core/xml_node.hpp +5 -0
- casadi/include/casadi/doc.i +9703 -6539
- casadi/include/casadi/doc_merged.i +6483 -4447
- casadi/include/casadi/valgrind-casadi.supp +138 -0
- casadi/include/casadi/valgrind-python.supp +2470 -0
- casadi/include/fatrop/blasfeo_wrapper/LinearAlgebraBlasfeo.hpp +4 -1
- casadi/include/ghc/filesystem.hpp +6083 -0
- casadi/include/ghc/fs_fwd.hpp +38 -0
- casadi/include/ghc/fs_impl.hpp +35 -0
- casadi/include/ghc/fs_std.hpp +60 -0
- casadi/include/ghc/fs_std_fwd.hpp +63 -0
- casadi/include/ghc/fs_std_impl.hpp +46 -0
- casadi/include/highs/HConfig.h +7 -5
- casadi/include/highs/Highs.h +260 -86
- casadi/include/highs/filereaderlp/reader.hpp +10 -10
- casadi/include/highs/interfaces/highs_c_api.h +195 -22
- casadi/include/highs/io/Filereader.h +4 -6
- casadi/include/highs/io/FilereaderEms.h +0 -3
- casadi/include/highs/io/FilereaderLp.h +0 -3
- casadi/include/highs/io/FilereaderMps.h +0 -3
- casadi/include/highs/io/HMPSIO.h +1 -4
- casadi/include/highs/io/HMpsFF.h +8 -5
- casadi/include/highs/io/HighsIO.h +10 -5
- casadi/include/highs/io/LoadOptions.h +0 -3
- casadi/include/highs/ipm/IpxSolution.h +0 -3
- casadi/include/highs/ipm/IpxWrapper.h +4 -7
- casadi/include/highs/ipm/ipx/control.h +1 -0
- casadi/include/highs/ipm/ipx/ipx_parameters.h +1 -0
- casadi/include/highs/ipm/ipx/lp_solver.h +3 -2
- casadi/include/highs/ipm/ipx/model.h +7 -3
- casadi/include/highs/lp_data/HConst.h +21 -6
- casadi/include/highs/lp_data/HStruct.h +40 -4
- casadi/include/highs/lp_data/HighsAnalysis.h +0 -3
- casadi/include/highs/lp_data/HighsCallback.h +10 -3
- casadi/include/highs/lp_data/HighsCallbackStruct.h +3 -3
- casadi/include/highs/lp_data/HighsDebug.h +0 -3
- casadi/include/highs/lp_data/HighsIis.h +62 -0
- casadi/include/highs/lp_data/HighsInfo.h +50 -43
- casadi/include/highs/lp_data/HighsInfoDebug.h +0 -3
- casadi/include/highs/lp_data/HighsLp.h +2 -3
- casadi/include/highs/lp_data/HighsLpSolverObject.h +0 -3
- casadi/include/highs/lp_data/HighsLpUtils.h +38 -6
- casadi/include/highs/lp_data/HighsModelUtils.h +21 -18
- casadi/include/highs/lp_data/HighsOptions.h +134 -22
- casadi/include/highs/lp_data/HighsRanging.h +0 -3
- casadi/include/highs/lp_data/HighsSolution.h +10 -3
- casadi/include/highs/lp_data/HighsSolutionDebug.h +0 -3
- casadi/include/highs/lp_data/HighsSolve.h +0 -3
- casadi/include/highs/lp_data/HighsStatus.h +0 -3
- casadi/include/highs/mip/HighsCliqueTable.h +3 -3
- casadi/include/highs/mip/HighsConflictPool.h +0 -3
- casadi/include/highs/mip/HighsCutGeneration.h +13 -3
- casadi/include/highs/mip/HighsCutPool.h +0 -3
- casadi/include/highs/mip/HighsDebugSol.h +0 -3
- casadi/include/highs/mip/HighsDomain.h +16 -4
- casadi/include/highs/mip/HighsDomainChange.h +0 -3
- casadi/include/highs/mip/HighsDynamicRowMatrix.h +0 -3
- casadi/include/highs/mip/HighsGFkSolve.h +3 -6
- casadi/include/highs/mip/HighsImplications.h +29 -5
- casadi/include/highs/mip/HighsLpAggregator.h +0 -3
- casadi/include/highs/mip/HighsLpRelaxation.h +0 -3
- casadi/include/highs/mip/HighsMipAnalysis.h +52 -0
- casadi/include/highs/mip/HighsMipSolver.h +11 -4
- casadi/include/highs/mip/HighsMipSolverData.h +67 -6
- casadi/include/highs/mip/HighsModkSeparator.h +1 -4
- casadi/include/highs/mip/HighsNodeQueue.h +0 -3
- casadi/include/highs/mip/HighsObjectiveFunction.h +0 -3
- casadi/include/highs/mip/HighsPathSeparator.h +1 -4
- casadi/include/highs/mip/HighsPrimalHeuristics.h +7 -5
- casadi/include/highs/mip/HighsPseudocost.h +0 -3
- casadi/include/highs/mip/HighsRedcostFixing.h +0 -3
- casadi/include/highs/mip/HighsSearch.h +0 -3
- casadi/include/highs/mip/HighsSeparation.h +0 -3
- casadi/include/highs/mip/HighsSeparator.h +1 -5
- casadi/include/highs/mip/HighsTableauSeparator.h +1 -4
- casadi/include/highs/mip/HighsTransformedLp.h +0 -3
- casadi/include/highs/mip/MipTimer.h +471 -0
- casadi/include/highs/parallel/HighsBinarySemaphore.h +1 -1
- casadi/include/highs/parallel/HighsCacheAlign.h +1 -1
- casadi/include/highs/parallel/HighsCombinable.h +1 -1
- casadi/include/highs/parallel/HighsMutex.h +1 -1
- casadi/include/highs/parallel/HighsRaceTimer.h +1 -1
- casadi/include/highs/parallel/HighsSchedulerConstants.h +1 -1
- casadi/include/highs/parallel/HighsSplitDeque.h +1 -1
- casadi/include/highs/parallel/HighsTaskExecutor.h +68 -55
- casadi/include/highs/pdlp/CupdlpWrapper.h +18 -7
- casadi/include/highs/pdlp/cupdlp/cupdlp_cs.h +2 -3
- casadi/include/highs/pdlp/cupdlp/cupdlp_defs.h +16 -6
- casadi/include/highs/pdlp/cupdlp/cupdlp_linalg.h +10 -4
- casadi/include/highs/pdlp/cupdlp/cupdlp_proj.h +3 -3
- casadi/include/highs/pdlp/cupdlp/cupdlp_restart.h +6 -6
- casadi/include/highs/pdlp/cupdlp/cupdlp_scaling.h +26 -0
- casadi/include/highs/pdlp/cupdlp/cupdlp_solver.h +11 -11
- casadi/include/highs/pdlp/cupdlp/cupdlp_step.h +8 -4
- casadi/include/highs/pdlp/cupdlp/cupdlp_utils.c +253 -172
- casadi/include/highs/presolve/HPresolve.h +50 -10
- casadi/include/highs/presolve/HPresolveAnalysis.h +0 -3
- casadi/include/highs/presolve/HighsPostsolveStack.h +39 -6
- casadi/include/highs/presolve/HighsSymmetry.h +0 -3
- casadi/include/highs/presolve/ICrash.h +0 -3
- casadi/include/highs/presolve/ICrashUtil.h +1 -4
- casadi/include/highs/presolve/ICrashX.h +0 -3
- casadi/include/highs/presolve/PresolveComponent.h +0 -3
- casadi/include/highs/qpsolver/a_asm.hpp +20 -17
- casadi/include/highs/qpsolver/a_quass.hpp +5 -9
- casadi/include/highs/qpsolver/basis.hpp +12 -10
- casadi/include/highs/qpsolver/crashsolution.hpp +4 -3
- casadi/include/highs/qpsolver/dantzigpricing.hpp +3 -2
- casadi/include/highs/qpsolver/devexpricing.hpp +3 -1
- casadi/include/highs/qpsolver/factor.hpp +6 -5
- casadi/include/highs/qpsolver/feasibility_bounded.hpp +31 -29
- casadi/include/highs/qpsolver/feasibility_highs.hpp +94 -70
- casadi/include/highs/qpsolver/gradient.hpp +1 -1
- casadi/include/highs/qpsolver/instance.hpp +1 -1
- casadi/include/highs/qpsolver/pricing.hpp +2 -2
- casadi/include/highs/qpsolver/qpconst.hpp +2 -2
- casadi/include/highs/qpsolver/quass.hpp +2 -2
- casadi/include/highs/qpsolver/runtime.hpp +2 -2
- casadi/include/highs/qpsolver/settings.hpp +20 -8
- casadi/include/highs/qpsolver/steepestedgepricing.hpp +38 -39
- casadi/include/highs/simplex/HApp.h +88 -34
- casadi/include/highs/simplex/HEkk.h +24 -11
- casadi/include/highs/simplex/HEkkDual.h +2 -4
- casadi/include/highs/simplex/HEkkDualRHS.h +0 -3
- casadi/include/highs/simplex/HEkkDualRow.h +0 -3
- casadi/include/highs/simplex/HEkkPrimal.h +1 -5
- casadi/include/highs/simplex/HSimplex.h +0 -3
- casadi/include/highs/simplex/HSimplexDebug.h +0 -3
- casadi/include/highs/simplex/HSimplexNla.h +0 -26
- casadi/include/highs/simplex/HSimplexReport.h +0 -3
- casadi/include/highs/simplex/HighsSimplexAnalysis.h +5 -8
- casadi/include/highs/simplex/SimplexConst.h +10 -11
- casadi/include/highs/simplex/SimplexStruct.h +9 -12
- casadi/include/highs/simplex/SimplexTimer.h +83 -101
- casadi/include/highs/test/DevKkt.h +0 -3
- casadi/include/highs/test/KktCh2.h +0 -3
- casadi/include/highs/util/FactorTimer.h +39 -64
- casadi/include/highs/util/HFactor.h +4 -4
- casadi/include/highs/util/HFactorConst.h +0 -3
- casadi/include/highs/util/HFactorDebug.h +0 -3
- casadi/include/highs/util/HSet.h +0 -3
- casadi/include/highs/util/HVector.h +0 -3
- casadi/include/highs/util/HVectorBase.h +1 -4
- casadi/include/highs/util/HighsCDouble.h +12 -3
- casadi/include/highs/util/HighsComponent.h +0 -3
- casadi/include/highs/util/HighsDataStack.h +0 -3
- casadi/include/highs/util/HighsDisjointSets.h +0 -3
- casadi/include/highs/util/HighsHash.h +9 -12
- casadi/include/highs/util/HighsHashTree.h +15 -11
- casadi/include/highs/util/HighsInt.h +0 -3
- casadi/include/highs/util/HighsIntegers.h +0 -3
- casadi/include/highs/util/HighsLinearSumBounds.h +0 -3
- casadi/include/highs/util/HighsMatrixPic.h +0 -3
- casadi/include/highs/util/HighsMatrixSlice.h +3 -6
- casadi/include/highs/util/HighsMatrixUtils.h +0 -3
- casadi/include/highs/util/HighsMemoryAllocation.h +11 -3
- casadi/include/highs/util/HighsRandom.h +3 -6
- casadi/include/highs/util/HighsRbTree.h +0 -3
- casadi/include/highs/util/HighsSort.h +0 -3
- casadi/include/highs/util/HighsSparseMatrix.h +6 -3
- casadi/include/highs/util/HighsSparseVectorSum.h +0 -3
- casadi/include/highs/util/HighsSplay.h +0 -3
- casadi/include/highs/util/HighsTimer.h +94 -56
- casadi/include/highs/util/HighsUtils.h +10 -3
- casadi/include/highs/util/stringutil.h +14 -12
- casadi/include/licenses/ghc-external/LICENSE +19 -0
- casadi/include/licenses/libz-external/LICENSE +22 -0
- casadi/include/licenses/libz-external/contrib/dotzlib/LICENSE_1_0.txt +23 -0
- casadi/include/licenses/libzip-external/LICENSE +31 -0
- casadi/include/zconf.h +545 -0
- casadi/include/zip.h +528 -0
- casadi/include/zipconf.h +48 -0
- casadi/include/zlib.h +1938 -0
- casadi/ipopt.lib +0 -0
- casadi/lapack.lib +0 -0
- casadi/libCbc-3.dll +0 -0
- casadi/libCbc.dll.a +0 -0
- casadi/libCbcSolver-3.dll +0 -0
- casadi/libCbcSolver.dll.a +0 -0
- casadi/libCgl-1.dll +0 -0
- casadi/libCgl.dll.a +0 -0
- casadi/libClp-1.dll +0 -0
- casadi/libClp.dll.a +0 -0
- casadi/libClpSolver-1.dll +0 -0
- casadi/libClpSolver.dll.a +0 -0
- casadi/libCoinUtils-3.dll +0 -0
- casadi/libCoinUtils.dll.a +0 -0
- casadi/libOsi-1.dll +0 -0
- casadi/libOsi.dll.a +0 -0
- casadi/libOsiCbc-3.dll +0 -0
- casadi/libOsiCbc.dll.a +0 -0
- casadi/libOsiClp-1.dll +0 -0
- casadi/libOsiClp.dll.a +0 -0
- casadi/libOsiCommonTests-1.dll +0 -0
- casadi/libOsiCommonTests.dll.a +0 -0
- casadi/libalpaqa.dll +0 -0
- casadi/libalpaqa.dll.a +0 -0
- casadi/libblasfeo.dll +0 -0
- casadi/libblasfeo.dll.a +0 -0
- casadi/libbonmin-4.dll +0 -0
- casadi/libbonmin.dll.a +0 -0
- casadi/libcasadi-tp-openblas.dll +0 -0
- casadi/libcasadi-tp-openblas.dll.a +0 -0
- casadi/libcasadi.dll +0 -0
- casadi/libcasadi.dll.a +0 -0
- casadi/libcasadi.lib +0 -0
- casadi/libcasadi_archiver_libzip.dll +0 -0
- casadi/libcasadi_archiver_libzip.dll.a +0 -0
- casadi/libcasadi_conic_cbc.dll +0 -0
- casadi/libcasadi_conic_cbc.dll.a +0 -0
- casadi/libcasadi_conic_clp.dll +0 -0
- casadi/libcasadi_conic_clp.dll.a +0 -0
- casadi/libcasadi_conic_cplex.dll +0 -0
- casadi/libcasadi_conic_cplex.dll.a +0 -0
- casadi/libcasadi_conic_daqp.dll +0 -0
- casadi/libcasadi_conic_daqp.dll.a +0 -0
- casadi/libcasadi_conic_fatrop.dll +0 -0
- casadi/libcasadi_conic_fatrop.dll.a +0 -0
- casadi/libcasadi_conic_gurobi.dll +0 -0
- casadi/libcasadi_conic_gurobi.dll.a +0 -0
- casadi/libcasadi_conic_highs.dll +0 -0
- casadi/libcasadi_conic_highs.dll.a +0 -0
- casadi/libcasadi_conic_hpipm.dll +0 -0
- casadi/libcasadi_conic_hpipm.dll.a +0 -0
- casadi/libcasadi_conic_ipqp.dll +0 -0
- casadi/libcasadi_conic_ipqp.dll.a +0 -0
- casadi/libcasadi_conic_nlpsol.dll +0 -0
- casadi/libcasadi_conic_nlpsol.dll.a +0 -0
- casadi/libcasadi_conic_osqp.dll +0 -0
- casadi/libcasadi_conic_osqp.dll.a +0 -0
- casadi/libcasadi_conic_proxqp.dll +0 -0
- casadi/libcasadi_conic_proxqp.dll.a +0 -0
- casadi/libcasadi_conic_qpoases.dll +0 -0
- casadi/libcasadi_conic_qpoases.dll.a +0 -0
- casadi/libcasadi_conic_qrqp.dll +0 -0
- casadi/libcasadi_conic_qrqp.dll.a +0 -0
- casadi/libcasadi_conic_superscs.dll +0 -0
- casadi/libcasadi_conic_superscs.dll.a +0 -0
- casadi/libcasadi_filesystem_ghc.dll +0 -0
- casadi/libcasadi_filesystem_ghc.dll.a +0 -0
- casadi/libcasadi_importer_shell.dll +0 -0
- casadi/libcasadi_importer_shell.dll.a +0 -0
- casadi/libcasadi_integrator_collocation.dll +0 -0
- casadi/libcasadi_integrator_collocation.dll.a +0 -0
- casadi/libcasadi_integrator_cvodes.dll +0 -0
- casadi/libcasadi_integrator_cvodes.dll.a +0 -0
- casadi/libcasadi_integrator_idas.dll +0 -0
- casadi/libcasadi_integrator_idas.dll.a +0 -0
- casadi/libcasadi_integrator_rk.dll +0 -0
- casadi/libcasadi_integrator_rk.dll.a +0 -0
- casadi/libcasadi_interpolant_bspline.dll +0 -0
- casadi/libcasadi_interpolant_bspline.dll.a +0 -0
- casadi/libcasadi_interpolant_linear.dll +0 -0
- casadi/libcasadi_interpolant_linear.dll.a +0 -0
- casadi/libcasadi_linsol_csparse.dll +0 -0
- casadi/libcasadi_linsol_csparse.dll.a +0 -0
- casadi/libcasadi_linsol_csparsecholesky.dll +0 -0
- casadi/libcasadi_linsol_csparsecholesky.dll.a +0 -0
- casadi/libcasadi_linsol_lapacklu.dll +0 -0
- casadi/libcasadi_linsol_lapacklu.dll.a +0 -0
- casadi/libcasadi_linsol_lapackqr.dll +0 -0
- casadi/libcasadi_linsol_lapackqr.dll.a +0 -0
- casadi/libcasadi_linsol_ldl.dll +0 -0
- casadi/libcasadi_linsol_ldl.dll.a +0 -0
- casadi/libcasadi_linsol_lsqr.dll +0 -0
- casadi/libcasadi_linsol_lsqr.dll.a +0 -0
- casadi/libcasadi_linsol_ma27.dll +0 -0
- casadi/libcasadi_linsol_ma27.dll.a +0 -0
- casadi/libcasadi_linsol_mumps.dll +0 -0
- casadi/libcasadi_linsol_mumps.dll.a +0 -0
- casadi/libcasadi_linsol_qr.dll +0 -0
- casadi/libcasadi_linsol_qr.dll.a +0 -0
- casadi/libcasadi_linsol_symbolicqr.dll +0 -0
- casadi/libcasadi_linsol_symbolicqr.dll.a +0 -0
- casadi/libcasadi_linsol_tridiag.dll +0 -0
- casadi/libcasadi_linsol_tridiag.dll.a +0 -0
- casadi/libcasadi_nlpsol_alpaqa.dll +0 -0
- casadi/libcasadi_nlpsol_alpaqa.dll.a +0 -0
- casadi/libcasadi_nlpsol_ampl.dll +0 -0
- casadi/libcasadi_nlpsol_ampl.dll.a +0 -0
- casadi/libcasadi_nlpsol_blocksqp.dll +0 -0
- casadi/libcasadi_nlpsol_blocksqp.dll.a +0 -0
- casadi/libcasadi_nlpsol_bonmin.dll +0 -0
- casadi/libcasadi_nlpsol_bonmin.dll.a +0 -0
- casadi/libcasadi_nlpsol_fatrop.dll +0 -0
- casadi/libcasadi_nlpsol_fatrop.dll.a +0 -0
- casadi/libcasadi_nlpsol_feasiblesqpmethod.dll +0 -0
- casadi/libcasadi_nlpsol_feasiblesqpmethod.dll.a +0 -0
- casadi/libcasadi_nlpsol_ipopt.dll +0 -0
- casadi/libcasadi_nlpsol_ipopt.dll.a +0 -0
- casadi/libcasadi_nlpsol_knitro.dll +0 -0
- casadi/libcasadi_nlpsol_knitro.dll.a +0 -0
- casadi/libcasadi_nlpsol_madnlp.dll +0 -0
- casadi/libcasadi_nlpsol_madnlp.dll.a +0 -0
- casadi/libcasadi_nlpsol_qrsqp.dll +0 -0
- casadi/libcasadi_nlpsol_qrsqp.dll.a +0 -0
- casadi/libcasadi_nlpsol_scpgen.dll +0 -0
- casadi/libcasadi_nlpsol_scpgen.dll.a +0 -0
- casadi/libcasadi_nlpsol_sleqp.dll +0 -0
- casadi/libcasadi_nlpsol_sleqp.dll.a +0 -0
- casadi/libcasadi_nlpsol_snopt.dll +0 -0
- casadi/libcasadi_nlpsol_snopt.dll.a +0 -0
- casadi/libcasadi_nlpsol_sqpmethod.dll +0 -0
- casadi/libcasadi_nlpsol_sqpmethod.dll.a +0 -0
- casadi/libcasadi_nlpsol_worhp.dll +0 -0
- casadi/libcasadi_nlpsol_worhp.dll.a +0 -0
- casadi/libcasadi_rootfinder_fast_newton.dll +0 -0
- casadi/libcasadi_rootfinder_fast_newton.dll.a +0 -0
- casadi/libcasadi_rootfinder_kinsol.dll +0 -0
- casadi/libcasadi_rootfinder_kinsol.dll.a +0 -0
- casadi/libcasadi_rootfinder_newton.dll +0 -0
- casadi/libcasadi_rootfinder_newton.dll.a +0 -0
- casadi/libcasadi_rootfinder_nlpsol.dll +0 -0
- casadi/libcasadi_rootfinder_nlpsol.dll.a +0 -0
- casadi/libcasadi_sundials_common.dll +0 -0
- casadi/libcasadi_sundials_common.dll.a +0 -0
- casadi/libcasadi_xmlfile_tinyxml.dll +0 -0
- casadi/libcasadi_xmlfile_tinyxml.dll.a +0 -0
- casadi/libcoinmetis-2.dll +0 -0
- casadi/libcoinmetis.dll.a +0 -0
- casadi/libcoinmumps-3.dll +0 -0
- casadi/libcoinmumps.dll.a +0 -0
- casadi/libcplex_adaptor.dll +0 -0
- casadi/libdaqp.dll +0 -0
- casadi/libdaqp.dll.a +0 -0
- casadi/libdl.dll +0 -0
- casadi/libdl.dll.a +0 -0
- casadi/libfatrop.dll +0 -0
- casadi/libfatrop.dll.a +0 -0
- casadi/libgurobi_adaptor.dll +0 -0
- casadi/libhighs.dll +0 -0
- casadi/libhighs.dll.a +0 -0
- casadi/libhpipm.dll +0 -0
- casadi/libhpipm.dll.a +0 -0
- casadi/libipopt-3.dll +0 -0
- casadi/libipopt.dll.a +0 -0
- casadi/libmatlab_ipc.dll +0 -0
- casadi/libmatlab_ipc.dll.a +0 -0
- casadi/libosqp.dll +0 -0
- casadi/libosqp.dll.a +0 -0
- casadi/libqdldl.dll +0 -0
- casadi/libqdldl.dll.a +0 -0
- casadi/libsipopt-3.dll +0 -0
- casadi/libsipopt.dll.a +0 -0
- casadi/libsleqp.dll +0 -0
- casadi/libsleqp.dll.a +0 -0
- casadi/libtrlib.dll +0 -0
- casadi/libtrlib.dll.a +0 -0
- casadi/libzip.a +0 -0
- casadi/libzlib.dll +0 -0
- casadi/libzlib.dll.a +0 -0
- casadi/libzlibstatic.a +0 -0
- casadi/matlab_ipc.lib +0 -0
- casadi/osqp.lib +0 -0
- casadi/pkgconfig/casadi.pc +1 -1
- casadi/pkgconfig/highs.pc +1 -1
- casadi/pkgconfig/libzip.pc +14 -0
- casadi/sleqp.lib +0 -0
- casadi/spral_ssids.exe +0 -0
- casadi/std-e414687e404555e5.dll +0 -0
- casadi/tools/__init__.py +3 -1
- casadi/tools/graph/graph.py +1 -1
- casadi/tools/structure3.py +2 -2
- {casadi-3.6.7.dist-info → casadi-3.7.0.dist-info}/METADATA +1 -1
- {casadi-3.6.7.dist-info → casadi-3.7.0.dist-info}/RECORD +434 -393
- casadi/bin/libtinyxml2.dll +0 -0
- casadi/include/tinyxml2.h +0 -2380
- casadi/lib/cmake/tinyxml2/tinyxml2-config.cmake +0 -57
- casadi/lib/cmake/tinyxml2/tinyxml2-shared-targets-release.cmake +0 -19
- casadi/lib/libtinyxml2.dll.a +0 -0
- casadi/lib/pkgconfig/tinyxml2.pc +0 -10
- casadi/libtinyxml2.dll +0 -0
- casadi/tools/structure.py +0 -1446
- {casadi-3.6.7.dist-info → casadi-3.7.0.dist-info}/WHEEL +0 -0
casadi/cbc.exe
CHANGED
Binary file
|
casadi/clp.exe
CHANGED
Binary file
|
@@ -5,15 +5,15 @@
|
|
5
5
|
# Commands may need to know the format version.
|
6
6
|
set(CMAKE_IMPORT_FILE_VERSION 1)
|
7
7
|
|
8
|
-
# Import target "casadi" for configuration "Release"
|
9
|
-
set_property(TARGET casadi APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
10
|
-
set_target_properties(casadi PROPERTIES
|
8
|
+
# Import target "casadi::casadi" for configuration "Release"
|
9
|
+
set_property(TARGET casadi::casadi APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
10
|
+
set_target_properties(casadi::casadi PROPERTIES
|
11
11
|
IMPORTED_IMPLIB_RELEASE "${_IMPORT_PREFIX}/casadi/libcasadi${CMAKE_IMPORT_LIBRARY_SUFFIX}"
|
12
12
|
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/casadi/libcasadi.dll"
|
13
13
|
)
|
14
14
|
|
15
|
-
list(APPEND _IMPORT_CHECK_TARGETS casadi )
|
16
|
-
list(APPEND _IMPORT_CHECK_FILES_FOR_casadi "${_IMPORT_PREFIX}/casadi/libcasadi${CMAKE_IMPORT_LIBRARY_SUFFIX}" "${_IMPORT_PREFIX}/casadi/libcasadi.dll" )
|
15
|
+
list(APPEND _IMPORT_CHECK_TARGETS casadi::casadi )
|
16
|
+
list(APPEND _IMPORT_CHECK_FILES_FOR_casadi::casadi "${_IMPORT_PREFIX}/casadi/libcasadi${CMAKE_IMPORT_LIBRARY_SUFFIX}" "${_IMPORT_PREFIX}/casadi/libcasadi.dll" )
|
17
17
|
|
18
18
|
# Commands beyond this point should not need to know the version.
|
19
19
|
set(CMAKE_IMPORT_FILE_VERSION)
|
@@ -16,7 +16,7 @@ set(CMAKE_IMPORT_FILE_VERSION 1)
|
|
16
16
|
set(_targetsDefined)
|
17
17
|
set(_targetsNotDefined)
|
18
18
|
set(_expectedTargets)
|
19
|
-
foreach(_expectedTarget casadi)
|
19
|
+
foreach(_expectedTarget casadi::casadi)
|
20
20
|
list(APPEND _expectedTargets ${_expectedTarget})
|
21
21
|
if(NOT TARGET ${_expectedTarget})
|
22
22
|
list(APPEND _targetsNotDefined ${_expectedTarget})
|
@@ -49,11 +49,11 @@ if(_IMPORT_PREFIX STREQUAL "/")
|
|
49
49
|
set(_IMPORT_PREFIX "")
|
50
50
|
endif()
|
51
51
|
|
52
|
-
# Create imported target casadi
|
53
|
-
add_library(casadi SHARED IMPORTED)
|
52
|
+
# Create imported target casadi::casadi
|
53
|
+
add_library(casadi::casadi SHARED IMPORTED)
|
54
54
|
|
55
|
-
set_target_properties(casadi PROPERTIES
|
56
|
-
INTERFACE_COMPILE_DEFINITIONS "CASADI_SNPRINTF=snprintf"
|
55
|
+
set_target_properties(casadi::casadi PROPERTIES
|
56
|
+
INTERFACE_COMPILE_DEFINITIONS "CASADI_SNPRINTF=snprintf;CASADI_WITH_THREADSAFE_SYMBOLICS;CASADI_WITH_THREAD"
|
57
57
|
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/casadi/include"
|
58
58
|
)
|
59
59
|
|
@@ -5,30 +5,38 @@
|
|
5
5
|
# The created file sets PACKAGE_VERSION_EXACT if the current version string and
|
6
6
|
# the requested version string are exactly the same and it sets
|
7
7
|
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version,
|
8
|
-
# but only if the requested major
|
8
|
+
# but only if the requested major and minor versions are the same as the current
|
9
|
+
# one.
|
9
10
|
# The variable CVF_VERSION must be set before calling configure_file().
|
10
11
|
|
11
12
|
|
12
|
-
set(PACKAGE_VERSION "
|
13
|
+
set(PACKAGE_VERSION "1.5.14")
|
13
14
|
|
14
15
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
15
16
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
16
17
|
else()
|
17
18
|
|
18
|
-
if("
|
19
|
+
if("1.5.14" MATCHES "^([0-9]+)\\.([0-9]+)")
|
19
20
|
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
|
21
|
+
set(CVF_VERSION_MINOR "${CMAKE_MATCH_2}")
|
20
22
|
else()
|
21
|
-
set(CVF_VERSION_MAJOR "
|
23
|
+
set(CVF_VERSION_MAJOR "1.5.14")
|
24
|
+
set(CVF_VERSION_MINOR "")
|
22
25
|
endif()
|
23
26
|
|
24
27
|
if(PACKAGE_FIND_VERSION_RANGE)
|
25
|
-
# both endpoints of the range must have the expected major
|
26
|
-
math (EXPR
|
27
|
-
if (NOT PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
|
28
|
-
|
29
|
-
|
28
|
+
# both endpoints of the range must have the expected major and minor versions
|
29
|
+
math (EXPR CVF_VERSION_MINOR_NEXT "${CVF_VERSION_MINOR} + 1")
|
30
|
+
if (NOT (PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
|
31
|
+
AND PACKAGE_FIND_VERSION_MIN_MINOR STREQUAL CVF_VERSION_MINOR)
|
32
|
+
OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE"
|
33
|
+
AND NOT (PACKAGE_FIND_VERSION_MAX_MAJOR STREQUAL CVF_VERSION_MAJOR
|
34
|
+
AND PACKAGE_FIND_VERSION_MAX_MINOR STREQUAL CVF_VERSION_MINOR))
|
35
|
+
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE"
|
36
|
+
AND NOT PACKAGE_FIND_VERSION_MAX VERSION_LESS_EQUAL ${CVF_VERSION_MAJOR}.${CVF_VERSION_MINOR_NEXT})))
|
30
37
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
31
38
|
elseif(PACKAGE_FIND_VERSION_MIN_MAJOR STREQUAL CVF_VERSION_MAJOR
|
39
|
+
AND PACKAGE_FIND_VERSION_MIN_MINOR STREQUAL CVF_VERSION_MINOR
|
32
40
|
AND ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS_EQUAL PACKAGE_FIND_VERSION_MAX)
|
33
41
|
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MAX)))
|
34
42
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
@@ -36,7 +44,8 @@ else()
|
|
36
44
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
37
45
|
endif()
|
38
46
|
else()
|
39
|
-
if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR)
|
47
|
+
if((PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR) AND
|
48
|
+
(PACKAGE_FIND_VERSION_MINOR STREQUAL CVF_VERSION_MINOR))
|
40
49
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
41
50
|
else()
|
42
51
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
@@ -0,0 +1,30 @@
|
|
1
|
+
|
2
|
+
####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
|
3
|
+
####### Any changes to this file will be overwritten by the next CMake run ####
|
4
|
+
####### The input file was config.cmake.in ########
|
5
|
+
|
6
|
+
get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
7
|
+
|
8
|
+
macro(set_and_check _var _file)
|
9
|
+
set(${_var} "${_file}")
|
10
|
+
if(NOT EXISTS "${_file}")
|
11
|
+
message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
|
12
|
+
endif()
|
13
|
+
endmacro()
|
14
|
+
|
15
|
+
macro(check_required_components _NAME)
|
16
|
+
foreach(comp ${${_NAME}_FIND_COMPONENTS})
|
17
|
+
if(NOT ${_NAME}_${comp}_FOUND)
|
18
|
+
if(${_NAME}_FIND_REQUIRED_${comp})
|
19
|
+
set(${_NAME}_FOUND FALSE)
|
20
|
+
endif()
|
21
|
+
endif()
|
22
|
+
endforeach()
|
23
|
+
endmacro()
|
24
|
+
|
25
|
+
####################################################################################
|
26
|
+
|
27
|
+
# import targets
|
28
|
+
include("${CMAKE_CURRENT_LIST_DIR}/ghc_filesystem-targets.cmake")
|
29
|
+
|
30
|
+
check_required_components(ghcfilesystem)
|
@@ -0,0 +1,99 @@
|
|
1
|
+
# Generated by CMake
|
2
|
+
|
3
|
+
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5)
|
4
|
+
message(FATAL_ERROR "CMake >= 2.6.0 required")
|
5
|
+
endif()
|
6
|
+
cmake_policy(PUSH)
|
7
|
+
cmake_policy(VERSION 2.6...3.18)
|
8
|
+
#----------------------------------------------------------------
|
9
|
+
# Generated CMake target import file.
|
10
|
+
#----------------------------------------------------------------
|
11
|
+
|
12
|
+
# Commands may need to know the format version.
|
13
|
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
14
|
+
|
15
|
+
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
16
|
+
set(_targetsDefined)
|
17
|
+
set(_targetsNotDefined)
|
18
|
+
set(_expectedTargets)
|
19
|
+
foreach(_expectedTarget ghcFilesystem::ghc_filesystem)
|
20
|
+
list(APPEND _expectedTargets ${_expectedTarget})
|
21
|
+
if(NOT TARGET ${_expectedTarget})
|
22
|
+
list(APPEND _targetsNotDefined ${_expectedTarget})
|
23
|
+
endif()
|
24
|
+
if(TARGET ${_expectedTarget})
|
25
|
+
list(APPEND _targetsDefined ${_expectedTarget})
|
26
|
+
endif()
|
27
|
+
endforeach()
|
28
|
+
if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
|
29
|
+
unset(_targetsDefined)
|
30
|
+
unset(_targetsNotDefined)
|
31
|
+
unset(_expectedTargets)
|
32
|
+
set(CMAKE_IMPORT_FILE_VERSION)
|
33
|
+
cmake_policy(POP)
|
34
|
+
return()
|
35
|
+
endif()
|
36
|
+
if(NOT "${_targetsDefined}" STREQUAL "")
|
37
|
+
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
|
38
|
+
endif()
|
39
|
+
unset(_targetsDefined)
|
40
|
+
unset(_targetsNotDefined)
|
41
|
+
unset(_expectedTargets)
|
42
|
+
|
43
|
+
|
44
|
+
# Compute the installation prefix relative to this file.
|
45
|
+
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
46
|
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
47
|
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
48
|
+
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
49
|
+
if(_IMPORT_PREFIX STREQUAL "/")
|
50
|
+
set(_IMPORT_PREFIX "")
|
51
|
+
endif()
|
52
|
+
|
53
|
+
# Create imported target ghcFilesystem::ghc_filesystem
|
54
|
+
add_library(ghcFilesystem::ghc_filesystem INTERFACE IMPORTED)
|
55
|
+
|
56
|
+
set_target_properties(ghcFilesystem::ghc_filesystem PROPERTIES
|
57
|
+
INTERFACE_COMPILE_OPTIONS "\$<\$<C_COMPILER_ID:MSVC>:/utf-8>;\$<\$<CXX_COMPILER_ID:MSVC>:/utf-8>"
|
58
|
+
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
|
59
|
+
)
|
60
|
+
|
61
|
+
if(CMAKE_VERSION VERSION_LESS 3.0.0)
|
62
|
+
message(FATAL_ERROR "This file relies on consumers using CMake 3.0.0 or greater.")
|
63
|
+
endif()
|
64
|
+
|
65
|
+
# Load information for each installed configuration.
|
66
|
+
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
67
|
+
file(GLOB CONFIG_FILES "${_DIR}/ghc_filesystem-targets-*.cmake")
|
68
|
+
foreach(f ${CONFIG_FILES})
|
69
|
+
include(${f})
|
70
|
+
endforeach()
|
71
|
+
|
72
|
+
# Cleanup temporary variables.
|
73
|
+
set(_IMPORT_PREFIX)
|
74
|
+
|
75
|
+
# Loop over all imported files and verify that they actually exist
|
76
|
+
foreach(target ${_IMPORT_CHECK_TARGETS} )
|
77
|
+
foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} )
|
78
|
+
if(NOT EXISTS "${file}" )
|
79
|
+
message(FATAL_ERROR "The imported target \"${target}\" references the file
|
80
|
+
\"${file}\"
|
81
|
+
but this file does not exist. Possible reasons include:
|
82
|
+
* The file was deleted, renamed, or moved to another location.
|
83
|
+
* An install or uninstall procedure did not complete successfully.
|
84
|
+
* The installation package was faulty and contained
|
85
|
+
\"${CMAKE_CURRENT_LIST_FILE}\"
|
86
|
+
but not all the files it references.
|
87
|
+
")
|
88
|
+
endif()
|
89
|
+
endforeach()
|
90
|
+
unset(_IMPORT_CHECK_FILES_FOR_${target})
|
91
|
+
endforeach()
|
92
|
+
unset(_IMPORT_CHECK_TARGETS)
|
93
|
+
|
94
|
+
# This file does not depend on other imported targets which have
|
95
|
+
# been exported from the same project but in a separate export set.
|
96
|
+
|
97
|
+
# Commands beyond this point should not need to know the version.
|
98
|
+
set(CMAKE_IMPORT_FILE_VERSION)
|
99
|
+
cmake_policy(POP)
|
@@ -56,8 +56,8 @@ add_library(highs::highs SHARED IMPORTED)
|
|
56
56
|
set_target_properties(highs::highs PROPERTIES
|
57
57
|
COMPATIBLE_INTERFACE_STRING "HIGHS_MAJOR_VERSION"
|
58
58
|
INTERFACE_HIGHS_MAJOR_VERSION "1"
|
59
|
-
INTERFACE_INCLUDE_DIRECTORIES "
|
60
|
-
INTERFACE_LINK_LIBRARIES "Threads::Threads"
|
59
|
+
INTERFACE_INCLUDE_DIRECTORIES "/include;${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include/highs"
|
60
|
+
INTERFACE_LINK_LIBRARIES "ZLIB::ZLIB;Threads::Threads"
|
61
61
|
INTERFACE_POSITION_INDEPENDENT_CODE "ON"
|
62
62
|
)
|
63
63
|
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# This is a basic version file for the Config-mode of find_package().
|
2
|
+
# It is used by write_basic_package_version_file() as input file for configure_file()
|
3
|
+
# to create a version-file which can be installed along a config.cmake file.
|
4
|
+
#
|
5
|
+
# The created file sets PACKAGE_VERSION_EXACT if the current version string and
|
6
|
+
# the requested version string are exactly the same and it sets
|
7
|
+
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version.
|
8
|
+
# The variable CVF_VERSION must be set before calling configure_file().
|
9
|
+
|
10
|
+
set(PACKAGE_VERSION "1.11.3")
|
11
|
+
|
12
|
+
if (PACKAGE_FIND_VERSION_RANGE)
|
13
|
+
# Package version must be in the requested version range
|
14
|
+
if ((PACKAGE_FIND_VERSION_RANGE_MIN STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MIN)
|
15
|
+
OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_GREATER PACKAGE_FIND_VERSION_MAX)
|
16
|
+
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_GREATER_EQUAL PACKAGE_FIND_VERSION_MAX)))
|
17
|
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
18
|
+
else()
|
19
|
+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
20
|
+
endif()
|
21
|
+
else()
|
22
|
+
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
23
|
+
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
24
|
+
else()
|
25
|
+
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
26
|
+
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
27
|
+
set(PACKAGE_VERSION_EXACT TRUE)
|
28
|
+
endif()
|
29
|
+
endif()
|
30
|
+
endif()
|
31
|
+
|
32
|
+
|
33
|
+
# if the installed project requested no architecture check, don't perform the check
|
34
|
+
if("FALSE")
|
35
|
+
return()
|
36
|
+
endif()
|
37
|
+
|
38
|
+
# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
|
39
|
+
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
|
40
|
+
return()
|
41
|
+
endif()
|
42
|
+
|
43
|
+
# check that the installed version has the same 32/64bit-ness as the one which is currently searching:
|
44
|
+
if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
|
45
|
+
math(EXPR installedBits "8 * 8")
|
46
|
+
set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
|
47
|
+
set(PACKAGE_VERSION_UNSUITABLE TRUE)
|
48
|
+
endif()
|
@@ -0,0 +1,69 @@
|
|
1
|
+
|
2
|
+
####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
|
3
|
+
####### Any changes to this file will be overwritten by the next CMake run ####
|
4
|
+
####### The input file was libzip-config.cmake.in ########
|
5
|
+
|
6
|
+
get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
7
|
+
|
8
|
+
macro(set_and_check _var _file)
|
9
|
+
set(${_var} "${_file}")
|
10
|
+
if(NOT EXISTS "${_file}")
|
11
|
+
message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
|
12
|
+
endif()
|
13
|
+
endmacro()
|
14
|
+
|
15
|
+
macro(check_required_components _NAME)
|
16
|
+
foreach(comp ${${_NAME}_FIND_COMPONENTS})
|
17
|
+
if(NOT ${_NAME}_${comp}_FOUND)
|
18
|
+
if(${_NAME}_FIND_REQUIRED_${comp})
|
19
|
+
set(${_NAME}_FOUND FALSE)
|
20
|
+
endif()
|
21
|
+
endif()
|
22
|
+
endforeach()
|
23
|
+
endmacro()
|
24
|
+
|
25
|
+
####################################################################################
|
26
|
+
|
27
|
+
# We need to supply transitive dependencies if this config is for a static library
|
28
|
+
set(IS_SHARED OFF)
|
29
|
+
if (NOT IS_SHARED)
|
30
|
+
include(CMakeFindDependencyMacro)
|
31
|
+
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/modules")
|
32
|
+
|
33
|
+
set(ENABLE_BZIP2 )
|
34
|
+
set(ENABLE_LZMA )
|
35
|
+
set(ENABLE_ZSTD )
|
36
|
+
set(ENABLE_GNUTLS )
|
37
|
+
set(ENABLE_MBEDTLS )
|
38
|
+
set(ENABLE_OPENSSL )
|
39
|
+
|
40
|
+
find_dependency(ZLIB 1.1.2)
|
41
|
+
if(ENABLE_BZIP2)
|
42
|
+
find_dependency(BZip2)
|
43
|
+
endif()
|
44
|
+
|
45
|
+
if(ENABLE_LZMA)
|
46
|
+
find_dependency(LibLZMA 5.2)
|
47
|
+
endif()
|
48
|
+
|
49
|
+
if(ENABLE_ZSTD)
|
50
|
+
find_dependency(zstd 1.3.6)
|
51
|
+
endif()
|
52
|
+
|
53
|
+
if(ENABLE_GNUTLS)
|
54
|
+
find_dependency(Nettle 3.0)
|
55
|
+
find_dependency(GnuTLS)
|
56
|
+
endif()
|
57
|
+
if(ENABLE_MBEDTLS)
|
58
|
+
find_dependency(MbedTLS 1.0)
|
59
|
+
endif()
|
60
|
+
if(ENABLE_OPENSSL)
|
61
|
+
find_dependency(OpenSSL)
|
62
|
+
endif()
|
63
|
+
endif()
|
64
|
+
|
65
|
+
# Provide all our library targets to users.
|
66
|
+
include("${CMAKE_CURRENT_LIST_DIR}/libzip-targets.cmake")
|
67
|
+
|
68
|
+
check_required_components(libzip)
|
69
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#----------------------------------------------------------------
|
2
|
+
# Generated CMake target import file for configuration "Release".
|
3
|
+
#----------------------------------------------------------------
|
4
|
+
|
5
|
+
# Commands may need to know the format version.
|
6
|
+
set(CMAKE_IMPORT_FILE_VERSION 1)
|
7
|
+
|
8
|
+
# Import target "libzip::zip" for configuration "Release"
|
9
|
+
set_property(TARGET libzip::zip APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
10
|
+
set_target_properties(libzip::zip PROPERTIES
|
11
|
+
IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE "C"
|
12
|
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libzip.a"
|
13
|
+
)
|
14
|
+
|
15
|
+
list(APPEND _IMPORT_CHECK_TARGETS libzip::zip )
|
16
|
+
list(APPEND _IMPORT_CHECK_FILES_FOR_libzip::zip "${_IMPORT_PREFIX}/lib/libzip.a" )
|
17
|
+
|
18
|
+
# Commands beyond this point should not need to know the version.
|
19
|
+
set(CMAKE_IMPORT_FILE_VERSION)
|
casadi/{lib/cmake/tinyxml2/tinyxml2-shared-targets.cmake → cmake/libzip/libzip-targets.cmake}
RENAMED
@@ -16,7 +16,7 @@ set(CMAKE_IMPORT_FILE_VERSION 1)
|
|
16
16
|
set(_targetsDefined)
|
17
17
|
set(_targetsNotDefined)
|
18
18
|
set(_expectedTargets)
|
19
|
-
foreach(_expectedTarget
|
19
|
+
foreach(_expectedTarget libzip::zip)
|
20
20
|
list(APPEND _expectedTargets ${_expectedTarget})
|
21
21
|
if(NOT TARGET ${_expectedTarget})
|
22
22
|
list(APPEND _targetsNotDefined ${_expectedTarget})
|
@@ -50,17 +50,21 @@ if(_IMPORT_PREFIX STREQUAL "/")
|
|
50
50
|
set(_IMPORT_PREFIX "")
|
51
51
|
endif()
|
52
52
|
|
53
|
-
# Create imported target
|
54
|
-
add_library(
|
53
|
+
# Create imported target libzip::zip
|
54
|
+
add_library(libzip::zip STATIC IMPORTED)
|
55
55
|
|
56
|
-
set_target_properties(
|
57
|
-
|
58
|
-
|
56
|
+
set_target_properties(libzip::zip PROPERTIES
|
57
|
+
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include"
|
58
|
+
INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:advapi32>;\$<LINK_ONLY:ZLIB::ZLIB>"
|
59
59
|
)
|
60
60
|
|
61
|
+
if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
62
|
+
message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
|
63
|
+
endif()
|
64
|
+
|
61
65
|
# Load information for each installed configuration.
|
62
66
|
get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
63
|
-
file(GLOB CONFIG_FILES "${_DIR}/
|
67
|
+
file(GLOB CONFIG_FILES "${_DIR}/libzip-targets-*.cmake")
|
64
68
|
foreach(f ${CONFIG_FILES})
|
65
69
|
include(${f})
|
66
70
|
endforeach()
|
@@ -0,0 +1,141 @@
|
|
1
|
+
# Copyright (C) 2020 Dieter Baron and Thomas Klausner
|
2
|
+
#
|
3
|
+
# The authors can be contacted at <info@libzip.org>
|
4
|
+
#
|
5
|
+
# Redistribution and use in source and binary forms, with or without
|
6
|
+
# modification, are permitted provided that the following conditions
|
7
|
+
# are met:
|
8
|
+
#
|
9
|
+
# 1. Redistributions of source code must retain the above copyright
|
10
|
+
# notice, this list of conditions and the following disclaimer.
|
11
|
+
#
|
12
|
+
# 2. Redistributions in binary form must reproduce the above copyright
|
13
|
+
# notice, this list of conditions and the following disclaimer in
|
14
|
+
# the documentation and/or other materials provided with the
|
15
|
+
# distribution.
|
16
|
+
#
|
17
|
+
# 3. The names of the authors may not be used to endorse or promote
|
18
|
+
# products derived from this software without specific prior
|
19
|
+
# written permission.
|
20
|
+
#
|
21
|
+
# THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
|
22
|
+
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
23
|
+
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
24
|
+
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
25
|
+
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
26
|
+
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
|
27
|
+
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
28
|
+
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
|
29
|
+
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
30
|
+
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
31
|
+
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
32
|
+
|
33
|
+
#[=======================================================================[.rst:
|
34
|
+
FindMbedTLS
|
35
|
+
-------
|
36
|
+
|
37
|
+
Finds the Mbed TLS library.
|
38
|
+
|
39
|
+
Imported Targets
|
40
|
+
^^^^^^^^^^^^^^^^
|
41
|
+
|
42
|
+
This module provides the following imported targets, if found:
|
43
|
+
|
44
|
+
``MbedTLS::MbedTLS``
|
45
|
+
The Mbed TLS library
|
46
|
+
|
47
|
+
Result Variables
|
48
|
+
^^^^^^^^^^^^^^^^
|
49
|
+
|
50
|
+
This will define the following variables:
|
51
|
+
|
52
|
+
``MbedTLS_FOUND``
|
53
|
+
True if the system has the Mbed TLS library.
|
54
|
+
``MbedTLS_VERSION``
|
55
|
+
The version of the Mbed TLS library which was found.
|
56
|
+
``MbedTLS_INCLUDE_DIRS``
|
57
|
+
Include directories needed to use Mbed TLS.
|
58
|
+
``MbedTLS_LIBRARIES``
|
59
|
+
Libraries needed to link to Mbed TLS.
|
60
|
+
|
61
|
+
Cache Variables
|
62
|
+
^^^^^^^^^^^^^^^
|
63
|
+
|
64
|
+
The following cache variables may also be set:
|
65
|
+
|
66
|
+
``MbedTLS_INCLUDE_DIR``
|
67
|
+
The directory containing ``mbedtls/aes.h``.
|
68
|
+
``MbedTLS_LIBRARY``
|
69
|
+
The path to the Mbed TLS library.
|
70
|
+
|
71
|
+
#]=======================================================================]
|
72
|
+
|
73
|
+
# I'm not aware of a pkg-config file for mbedtls as of 2020/07/08.
|
74
|
+
#find_package(PkgConfig)
|
75
|
+
#pkg_check_modules(PC_MbedTLS QUIET mbedtls)
|
76
|
+
|
77
|
+
find_path(MbedTLS_INCLUDE_DIR
|
78
|
+
NAMES mbedtls/aes.h
|
79
|
+
# PATHS ${PC_MbedTLS_INCLUDE_DIRS}
|
80
|
+
)
|
81
|
+
find_library(MbedTLS_LIBRARY
|
82
|
+
NAMES mbedcrypto
|
83
|
+
# PATHS ${PC_MbedTLS_LIBRARY_DIRS}
|
84
|
+
)
|
85
|
+
|
86
|
+
# Extract version information from the header file
|
87
|
+
if(MbedTLS_INCLUDE_DIR)
|
88
|
+
# for major version 3
|
89
|
+
if(EXISTS ${MbedTLS_INCLUDE_DIR}/mbedtls/build_info.h)
|
90
|
+
file(STRINGS ${MbedTLS_INCLUDE_DIR}/mbedtls/build_info.h _ver_line
|
91
|
+
REGEX "^#define MBEDTLS_VERSION_STRING *\"[0-9]+\\.[0-9]+\\.[0-9]+\""
|
92
|
+
LIMIT_COUNT 1)
|
93
|
+
string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+"
|
94
|
+
MbedTLS_VERSION "${_ver_line}")
|
95
|
+
unset(_ver_line)
|
96
|
+
# for major version 2
|
97
|
+
elseif(EXISTS ${MbedTLS_INCLUDE_DIR}/mbedtls/version.h)
|
98
|
+
file(STRINGS ${MbedTLS_INCLUDE_DIR}/mbedtls/version.h _ver_line
|
99
|
+
REGEX "^#define MBEDTLS_VERSION_STRING *\"[0-9]+\\.[0-9]+\\.[0-9]+\""
|
100
|
+
LIMIT_COUNT 1)
|
101
|
+
string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+"
|
102
|
+
MbedTLS_VERSION "${_ver_line}")
|
103
|
+
unset(_ver_line)
|
104
|
+
else()
|
105
|
+
if(PC_MbedTLS_VERSION)
|
106
|
+
set(MbedTLS_VERSION ${PC_MbedTLS_VERSION})
|
107
|
+
else()
|
108
|
+
# version unknown
|
109
|
+
set(MbedTLS_VERSION "0.0")
|
110
|
+
endif()
|
111
|
+
endif()
|
112
|
+
endif()
|
113
|
+
|
114
|
+
include(FindPackageHandleStandardArgs)
|
115
|
+
find_package_handle_standard_args(MbedTLS
|
116
|
+
FOUND_VAR MbedTLS_FOUND
|
117
|
+
REQUIRED_VARS
|
118
|
+
MbedTLS_LIBRARY
|
119
|
+
MbedTLS_INCLUDE_DIR
|
120
|
+
VERSION_VAR MbedTLS_VERSION
|
121
|
+
)
|
122
|
+
|
123
|
+
if(MbedTLS_FOUND)
|
124
|
+
set(MbedTLS_LIBRARIES ${MbedTLS_LIBRARY})
|
125
|
+
set(MbedTLS_INCLUDE_DIRS ${MbedTLS_INCLUDE_DIR})
|
126
|
+
# set(MbedTLS_DEFINITIONS ${PC_MbedTLS_CFLAGS_OTHER})
|
127
|
+
endif()
|
128
|
+
|
129
|
+
if(MbedTLS_FOUND AND NOT TARGET MbedTLS::MbedTLS)
|
130
|
+
add_library(MbedTLS::MbedTLS UNKNOWN IMPORTED)
|
131
|
+
set_target_properties(MbedTLS::MbedTLS PROPERTIES
|
132
|
+
IMPORTED_LOCATION "${MbedTLS_LIBRARY}"
|
133
|
+
# INTERFACE_COMPILE_OPTIONS "${PC_MbedTLS_CFLAGS_OTHER}"
|
134
|
+
INTERFACE_INCLUDE_DIRECTORIES "${MbedTLS_INCLUDE_DIR}"
|
135
|
+
)
|
136
|
+
endif()
|
137
|
+
|
138
|
+
mark_as_advanced(
|
139
|
+
MbedTLS_INCLUDE_DIR
|
140
|
+
MbedTLS_LIBRARY
|
141
|
+
)
|