mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-04-19 10:51:18 +00:00
32 lines
616 B
CMake
32 lines
616 B
CMake
project("XenonUtils")
|
|
|
|
add_library(XenonUtils
|
|
"disasm.cpp"
|
|
"xex.cpp"
|
|
"image.cpp"
|
|
"xdbf_wrapper.cpp"
|
|
"xex_patcher.cpp"
|
|
"memory_mapped_file.cpp"
|
|
"${THIRDPARTY_ROOT}/libmspack/libmspack/mspack/lzxd.c"
|
|
"${THIRDPARTY_ROOT}/tiny-AES-c/aes.c"
|
|
)
|
|
|
|
target_compile_definitions(XenonUtils
|
|
PRIVATE
|
|
NOMINMAX
|
|
)
|
|
|
|
target_include_directories(XenonUtils
|
|
PUBLIC
|
|
.
|
|
PRIVATE
|
|
"${THIRDPARTY_ROOT}/libmspack/libmspack/mspack"
|
|
"${THIRDPARTY_ROOT}/tiny-AES-c"
|
|
"${THIRDPARTY_ROOT}/TinySHA1"
|
|
)
|
|
|
|
target_link_libraries(XenonUtils
|
|
PUBLIC
|
|
disasm
|
|
)
|