2015-07-18 23:00:01 +00:00
|
|
|
group("third_party")
|
|
|
|
project("capstone")
|
|
|
|
uuid("b3a89f7e-bb02-4945-ae75-219caed6afa2")
|
|
|
|
kind("StaticLib")
|
2015-09-22 05:11:56 +00:00
|
|
|
language("C")
|
2015-07-18 23:00:01 +00:00
|
|
|
defines({
|
|
|
|
"CAPSTONE_X86_ATT_DISABLE",
|
|
|
|
"CAPSTONE_DIET_NO",
|
|
|
|
"CAPSTONE_X86_REDUCE_NO",
|
|
|
|
"CAPSTONE_HAS_X86",
|
|
|
|
"CAPSTONE_USE_SYS_DYN_MEM",
|
|
|
|
"_LIB",
|
|
|
|
})
|
2022-09-29 14:26:38 +00:00
|
|
|
filter({"configurations:Release", "platforms:Windows"})
|
|
|
|
buildoptions({
|
|
|
|
"/Os",
|
|
|
|
"/O1"
|
|
|
|
})
|
2022-10-08 17:10:36 +00:00
|
|
|
filter {}
|
|
|
|
|
2015-07-18 23:00:01 +00:00
|
|
|
includedirs({
|
|
|
|
"capstone",
|
|
|
|
"capstone/include",
|
|
|
|
})
|
|
|
|
files({
|
|
|
|
"capstone/cs.c",
|
|
|
|
"capstone/cs_priv.h",
|
|
|
|
"capstone/LEB128.h",
|
|
|
|
"capstone/MathExtras.h",
|
|
|
|
"capstone/MCDisassembler.h",
|
|
|
|
"capstone/MCFixedLenDisassembler.h",
|
|
|
|
"capstone/MCInst.c",
|
|
|
|
"capstone/MCInst.h",
|
|
|
|
"capstone/MCInstrDesc.c",
|
|
|
|
"capstone/MCInstrDesc.h",
|
|
|
|
"capstone/MCRegisterInfo.c",
|
|
|
|
"capstone/MCRegisterInfo.h",
|
|
|
|
"capstone/SStream.c",
|
|
|
|
"capstone/SStream.h",
|
|
|
|
"capstone/utils.c",
|
|
|
|
"capstone/utils.h",
|
2023-10-14 18:27:27 +00:00
|
|
|
"capstone/Mapping.c",
|
|
|
|
"capstone/Mapping.h",
|
2015-07-18 23:00:01 +00:00
|
|
|
|
|
|
|
"capstone/arch/X86/*.c",
|
|
|
|
"capstone/arch/X86/*.h",
|
|
|
|
"capstone/arch/X86/*.inc",
|
|
|
|
})
|
2015-11-06 02:43:15 +00:00
|
|
|
force_compile_as_c({
|
|
|
|
"capstone/**.c",
|
|
|
|
"capstone/arch/X86/**.c",
|
|
|
|
})
|