mirror of https://github.com/PCSX2/pcsx2.git
91 lines
2.8 KiB
CMake
91 lines
2.8 KiB
CMake
|
add_library(zydis
|
||
|
dependencies/zycore/src/Allocator.c
|
||
|
dependencies/zycore/src/API/Memory.c
|
||
|
dependencies/zycore/src/API/Process.c
|
||
|
dependencies/zycore/src/API/Synchronization.c
|
||
|
dependencies/zycore/src/API/Terminal.c
|
||
|
dependencies/zycore/src/API/Thread.c
|
||
|
dependencies/zycore/src/ArgParse.c
|
||
|
dependencies/zycore/src/Bitset.c
|
||
|
dependencies/zycore/src/Format.c
|
||
|
dependencies/zycore/src/List.c
|
||
|
dependencies/zycore/src/String.c
|
||
|
dependencies/zycore/src/Vector.c
|
||
|
dependencies/zycore/src/Zycore.c
|
||
|
src/Decoder.c
|
||
|
src/DecoderData.c
|
||
|
src/Formatter.c
|
||
|
src/FormatterATT.c
|
||
|
src/FormatterBase.c
|
||
|
src/FormatterBuffer.c
|
||
|
src/FormatterIntel.c
|
||
|
src/MetaInfo.c
|
||
|
src/Mnemonic.c
|
||
|
src/Register.c
|
||
|
src/SharedData.c
|
||
|
src/String.c
|
||
|
src/Utils.c
|
||
|
src/Zydis.c
|
||
|
dependencies/zycore/include/Zycore/Allocator.h
|
||
|
dependencies/zycore/include/Zycore/API/Memory.h
|
||
|
dependencies/zycore/include/Zycore/API/Process.h
|
||
|
dependencies/zycore/include/Zycore/API/Synchronization.h
|
||
|
dependencies/zycore/include/Zycore/API/Terminal.h
|
||
|
dependencies/zycore/include/Zycore/API/Thread.h
|
||
|
dependencies/zycore/include/Zycore/ArgParse.h
|
||
|
dependencies/zycore/include/Zycore/Atomic.h
|
||
|
dependencies/zycore/include/Zycore/Bitset.h
|
||
|
dependencies/zycore/include/Zycore/Comparison.h
|
||
|
dependencies/zycore/include/Zycore/Defines.h
|
||
|
dependencies/zycore/include/Zycore/Format.h
|
||
|
dependencies/zycore/include/Zycore/Internal/AtomicGNU.h
|
||
|
dependencies/zycore/include/Zycore/Internal/AtomicMSVC.h
|
||
|
dependencies/zycore/include/Zycore/LibC.h
|
||
|
dependencies/zycore/include/Zycore/List.h
|
||
|
dependencies/zycore/include/Zycore/Object.h
|
||
|
dependencies/zycore/include/Zycore/Status.h
|
||
|
dependencies/zycore/include/Zycore/String.h
|
||
|
dependencies/zycore/include/Zycore/Types.h
|
||
|
dependencies/zycore/include/Zycore/Vector.h
|
||
|
dependencies/zycore/include/Zycore/Zycore.h
|
||
|
include/Zydis/Decoder.h
|
||
|
include/Zydis/DecoderTypes.h
|
||
|
include/Zydis/Formatter.h
|
||
|
include/Zydis/FormatterBuffer.h
|
||
|
include/Zydis/Generated/EnumInstructionCategory.h
|
||
|
include/Zydis/Generated/EnumISAExt.h
|
||
|
include/Zydis/Generated/EnumISASet.h
|
||
|
include/Zydis/Generated/EnumMnemonic.h
|
||
|
include/Zydis/Generated/EnumRegister.h
|
||
|
include/Zydis/Internal/DecoderData.h
|
||
|
include/Zydis/Internal/FormatterATT.h
|
||
|
include/Zydis/Internal/FormatterBase.h
|
||
|
include/Zydis/Internal/FormatterIntel.h
|
||
|
include/Zydis/Internal/SharedData.h
|
||
|
include/Zydis/Internal/String.h
|
||
|
include/Zydis/MetaInfo.h
|
||
|
include/Zydis/Mnemonic.h
|
||
|
include/Zydis/Register.h
|
||
|
include/Zydis/SharedTypes.h
|
||
|
include/Zydis/ShortString.h
|
||
|
include/Zydis/Status.h
|
||
|
include/Zydis/Utils.h
|
||
|
include/Zydis/Zydis.h
|
||
|
)
|
||
|
|
||
|
target_compile_definitions(zydis PUBLIC
|
||
|
ZYCORE_STATIC_DEFINE
|
||
|
ZYDIS_STATIC_DEFINE
|
||
|
)
|
||
|
|
||
|
target_include_directories(zydis PUBLIC
|
||
|
${CMAKE_CURRENT_SOURCE_DIR}/dependencies/zycore/include
|
||
|
${CMAKE_CURRENT_SOURCE_DIR}/include
|
||
|
)
|
||
|
|
||
|
target_include_directories(zydis PRIVATE
|
||
|
${CMAKE_CURRENT_SOURCE_DIR}/dependencies/zycore/src
|
||
|
${CMAKE_CURRENT_SOURCE_DIR}/src
|
||
|
)
|
||
|
|