mirror of
https://github.com/open-goal/jak-project
synced 2026-08-18 21:57:54 -04:00
bfc4c18ada
- Adds `capstone` as a disassembling library that could eventually replace Zydis (for now left that alone) - Replicates all of the existing x86 tests to ARM64, fixed a bunch of underlying issues along the way - There are a very small handful of tests remaining that need to be enabled / fixed
16 lines
786 B
CMake
Vendored
Generated
16 lines
786 B
CMake
Vendored
Generated
# Used to dynamically set the package file name based on the generator
|
|
foreach(generator ${CPACK_GENERATOR})
|
|
if("${generator}" STREQUAL "DEB")
|
|
set(CPACK_PACKAGE_FILE_NAME ${CPACK_DEBIAN_PACKAGE_FILE_NAME})
|
|
elseif("${generator}" STREQUAL "RPM")
|
|
set(CPACK_PACKAGE_FILE_NAME ${CPACK_RPM_PACKAGE_FILE_NAME})
|
|
elseif("${generator}" STREQUAL "NSIS")
|
|
set(CPACK_PACKAGE_FILE_NAME ${CPACK_NSIS_PACKAGE_FILE_NAME})
|
|
elseif("${generator}" STREQUAL "DragNDrop")
|
|
set(CPACK_PACKAGE_FILE_NAME ${CPACK_DMG_PACKAGE_FILE_NAME})
|
|
else()
|
|
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}-unknown")
|
|
endif()
|
|
message(STATUS "Generating package for ${generator} with file name ${CPACK_PACKAGE_FILE_NAME}")
|
|
endforeach()
|