-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathcmake.toml
More file actions
51 lines (43 loc) · 1.22 KB
/
Copy pathcmake.toml
File metadata and controls
51 lines (43 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[cmake]
version = "3.15"
cmkr-include = "cmake/cmkr.cmake"
[project]
name = "x64dbg-automate"
include-before = [
"cmake/msvc-static-runtime.cmake",
"cmake/msvc-configurations.cmake",
]
[vcpkg]
version = "2025.01.13"
packages = ["cppzmq", "msgpack[boost]", "detours"]
[find-package.cppzmq]
required = true
[find-package.msgpack-cxx]
required = true
[find-package.Boost]
required = true
[fetch-content.x64dbg]
url = "https://sourceforge.net/projects/x64dbg/files/snapshots/snapshot_2026-05-27_12-11.zip"
sha1 = "4f70bf300e79e0a88d59ab3bfe68d22daf003cea"
include-after = ["cmake/x64dbg.cmake"]
[template.plugin]
type = "shared"
add-function = "x64dbg_plugin"
[target.x64dbg-automate]
type = "plugin"
sources = [
"src/*.cpp",
"src/*.h",
"src/plugin.rc",
]
cmake-before = """
find_path(DETOURS_INCLUDE_DIRS "detours/detours.h" REQUIRED)
find_library(DETOURS_LIBRARY detours REQUIRED)
add_library(detours_target STATIC IMPORTED)
set_target_properties(detours_target PROPERTIES
IMPORTED_LOCATION "${DETOURS_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES "${DETOURS_INCLUDE_DIRS}"
)
"""
link-libraries = ["cppzmq", "msgpack-cxx", "detours_target"]
compile-features = ["cxx_std_20"]