asmjit/cci.20230325

AsmJit is a lightweight library for machine code generation written in C++ language.
Recipe info
2023-04-17

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
asmjit/cci.20230325

Using asmjit

Note

If you are new with Conan, we recommend to read the section how to consume packages.

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]
asmjit/cci.20230325
[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("asmjit/cci.20230325")

    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): asmjit
  • CMake target name(s): asmjit::asmjit
  • pkg-config file name(s): asmjit.pc

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

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

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

#include "asmjit/arm.h"
#include "asmjit/arm/a64assembler.h"
#include "asmjit/arm/a64builder.h"
#include "asmjit/arm/a64compiler.h"
#include "asmjit/arm/a64emitter.h"
#include "asmjit/arm/a64globals.h"
#include "asmjit/arm/a64instdb.h"
#include "asmjit/arm/a64operand.h"
#include "asmjit/arm/a64utils.h"
#include "asmjit/arm/armglobals.h"
#include "asmjit/arm/armoperand.h"
#include "asmjit/asmjit-scope-begin.h"
#include "asmjit/asmjit-scope-end.h"
#include "asmjit/asmjit.h"
#include "asmjit/core.h"
#include "asmjit/core/api-config.h"
#include "asmjit/core/archcommons.h"
#include "asmjit/core/archtraits.h"
#include "asmjit/core/assembler.h"
#include "asmjit/core/builder.h"
#include "asmjit/core/codebuffer.h"
#include "asmjit/core/codeholder.h"
#include "asmjit/core/compiler.h"
#include "asmjit/core/compilerdefs.h"
#include "asmjit/core/constpool.h"
#include "asmjit/core/cpuinfo.h"
#include "asmjit/core/emitter.h"
#include "asmjit/core/environment.h"
#include "asmjit/core/errorhandler.h"
#include "asmjit/core/formatter.h"
#include "asmjit/core/func.h"
#include "asmjit/core/globals.h"
#include "asmjit/core/inst.h"
#include "asmjit/core/jitallocator.h"
#include "asmjit/core/jitruntime.h"
#include "asmjit/core/logger.h"
#include "asmjit/core/operand.h"
#include "asmjit/core/osutils.h"
#include "asmjit/core/string.h"
#include "asmjit/core/support.h"
#include "asmjit/core/target.h"
#include "asmjit/core/type.h"
#include "asmjit/core/virtmem.h"
#include "asmjit/core/zone.h"
#include "asmjit/core/zonehash.h"
#include "asmjit/core/zonelist.h"
#include "asmjit/core/zonestack.h"
#include "asmjit/core/zonestring.h"
#include "asmjit/core/zonetree.h"
#include "asmjit/core/zonevector.h"
#include "asmjit/x86.h"
#include "asmjit/x86/x86assembler.h"
#include "asmjit/x86/x86builder.h"
#include "asmjit/x86/x86compiler.h"
#include "asmjit/x86/x86emitter.h"
#include "asmjit/x86/x86globals.h"
#include "asmjit/x86/x86instdb.h"
#include "asmjit/x86/x86operand.h"