mirror of
https://github.com/open-goal/jak-project
synced 2026-09-13 05:05:48 -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
18 lines
677 B
CMake
Vendored
Generated
18 lines
677 B
CMake
Vendored
Generated
# This example file is for builds on Ubunutu 24.04.
|
|
# Search for required packages (compiler + libc) with `apt search mips`
|
|
# sudo apt install gcc-mips-linux-gnu g++-mips-linux-gnu binutils-mips-linux-gnu libc6-dev-mips-cross qemu-user-static
|
|
set(CMAKE_SYSTEM_NAME Linux)
|
|
set(CMAKE_SYSTEM_PROCESSOR mips)
|
|
|
|
set(CMAKE_C_COMPILER mips-linux-gnu-gcc)
|
|
set(CMAKE_ASM_COMPILER mips-linux-gnu-gcc)
|
|
set(CMAKE_CROSS_COMPILING 1)
|
|
|
|
set(CMAKE_SYSROOT /usr/mips-linux-gnu/usr/)
|
|
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
|
|
|
set(CMAKE_CROSSCOMPILING_EMULATOR qemu-mips-static;-L;/usr/mips-linux-gnu/)
|