muparserx/4.0.12

A C++ Library for Parsing Expressions with Strings, Complex Numbers, Vectors, Matrices and more
Recipe info
2024-01-13

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
muparserx/4.0.12

Using muparserx

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
muparserx/4.0.12
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("muparserx/4.0.12")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): muparserx
  • CMake target name(s): muparserx::muparserx
  • pkg-config file name(s): muparserx.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(muparserx REQUIRED)
# ...
target_link_libraries(YOUR_TARGET muparserx::muparserx)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the muparserx homepage listed above:

#include "muparserx/mpDefines.h"
#include "muparserx/mpError.h"
#include "muparserx/mpFuncCmplx.h"
#include "muparserx/mpFuncCommon.h"
#include "muparserx/mpFuncMatrix.h"
#include "muparserx/mpFuncNonCmplx.h"
#include "muparserx/mpFuncStr.h"
#include "muparserx/mpFwdDecl.h"
#include "muparserx/mpICallback.h"
#include "muparserx/mpIOprt.h"
#include "muparserx/mpIOprtBinShortcut.h"
#include "muparserx/mpIPackage.h"
#include "muparserx/mpIPrecedence.h"
#include "muparserx/mpIToken.h"
#include "muparserx/mpIValReader.h"
#include "muparserx/mpIValue.h"
#include "muparserx/mpIfThenElse.h"
#include "muparserx/mpMatrix.h"
#include "muparserx/mpMatrixError.h"
#include "muparserx/mpOprtBinAssign.h"
#include "muparserx/mpOprtBinCommon.h"
#include "muparserx/mpOprtBinShortcut.h"
#include "muparserx/mpOprtCmplx.h"
#include "muparserx/mpOprtIndex.h"
#include "muparserx/mpOprtMatrix.h"
#include "muparserx/mpOprtNonCmplx.h"
#include "muparserx/mpOprtPostfixCommon.h"
#include "muparserx/mpPackageCmplx.h"
#include "muparserx/mpPackageCommon.h"
#include "muparserx/mpPackageMatrix.h"
#include "muparserx/mpPackageNonCmplx.h"
#include "muparserx/mpPackageStr.h"
#include "muparserx/mpPackageUnit.h"
#include "muparserx/mpParser.h"
#include "muparserx/mpParserBase.h"
#include "muparserx/mpParserMessageProvider.h"
#include "muparserx/mpRPN.h"
#include "muparserx/mpScriptTokens.h"
#include "muparserx/mpStack.h"
#include "muparserx/mpStringConversionHelper.h"
#include "muparserx/mpTest.h"
#include "muparserx/mpTokenReader.h"
#include "muparserx/mpTypes.h"
#include "muparserx/mpValReader.h"
#include "muparserx/mpValue.h"
#include "muparserx/mpValueCache.h"
#include "muparserx/mpVariable.h"
#include "muparserx/suSortPred.h"
#include "muparserx/suStringTokens.h"
#include "muparserx/utGeneric.h"