libTriton version 1.0 build 1592
Loading...
Searching...
No Matches
Config.cmake.in
1@PACKAGE_INIT@
2
3include("${CMAKE_CURRENT_LIST_DIR}/tritonTargets.cmake")
4
5set(TRITON_ARCHIVE "@CMAKE_INSTALL_PREFIX@/lib/@CMAKE_STATIC_LIBRARY_PREFIX@triton@CMAKE_STATIC_LIBRARY_SUFFIX@")
6set(TRITON_BITWUZLA_INTERFACE @BITWUZLA_INTERFACE@)
7set(TRITON_BOOST_INTERFACE @TRITON_BOOST_INTERFACE@)
8set(TRITON_BUILD_SHARED_LIBS @BUILD_SHARED_LIBS@)
9set(TRITON_INCLUDE_DIRS "@CMAKE_INSTALL_PREFIX@/include")
10set(TRITON_INSTALL_PREFIX @CMAKE_INSTALL_PREFIX@)
11set(TRITON_LIBRARIES "triton;@PYTHON_LIB_NAME@;@Z3_LIB_NAME@;@LLVM_LIBRARIES@;@BITWUZLA_LIB_NAME@;@CAPSTONE_LIB_NAME@")
12set(TRITON_LIBRARY "@CMAKE_INSTALL_PREFIX@/lib/@CMAKE_SHARED_LIBRARY_PREFIX@triton@CMAKE_SHARED_LIBRARY_SUFFIX@")
13set(TRITON_LLVM_INTERFACE @LLVM_INTERFACE@)
14set(TRITON_MSVC_STATIC @MSVC_STATIC@)
15set(TRITON_PYTHON_BINDINGS @PYTHON_BINDINGS@)
16set(TRITON_VERSION @VERSION_MAJOR@.@VERSION_MINOR@)
17set(TRITON_Z3_INTERFACE @Z3_INTERFACE@)
18
19message(STATUS "Found Triton: ${CMAKE_CURRENT_LIST_DIR}/tritonConfig.cmake (found version ${TRITON_VERSION})")
20
21include(CMakeFindDependencyMacro)
22
23# Boost includes
24if (TRITON_BOOST_INTERFACE)
25 find_dependency(Boost)
26endif()
27
28# Triton include
29include_directories("@CMAKE_INSTALL_PREFIX@/include")
30link_directories(BEFORE "@CMAKE_INSTALL_PREFIX@/lib")
31
32# Capstone include
33include_directories("@CAPSTONE_INCLUDE_DIRS@")
34link_directories(BEFORE "@CAPSTONE_LIB_DIR@")
35
36# Python include directories
37if (TRITON_PYTHON_BINDINGS)
38 include_directories("@PYTHON_INCLUDE_DIRS@")
39 link_directories(BEFORE "@PYTHON_LIB_DIR@")
40endif()
41
42# LLVM include and lib directories
43if (TRITON_LLVM_INTERFACE)
44 include_directories("@LLVM_INCLUDE_DIRS@")
45 link_directories(BEFORE "@LLVM_LIBRARY_DIRS@")
46endif()
47
48# Z3 include directories
49if (TRITON_Z3_INTERFACE)
50 include_directories("@Z3_INCLUDE_DIRS@")
51 link_directories(BEFORE "@Z3_LIB_DIR@")
52endif()
53
54# Bitwuzla include directories
55if (TRITON_BITWUZLA_INTERFACE)
56 include_directories("@BITWUZLA_INCLUDE_DIRS@")
57 link_directories(BEFORE "@BITWUZLA_LIB_DIR@")
58endif()