-
Notifications
You must be signed in to change notification settings - Fork 0
Building
The root CMake project will generate a lot of different targets. The following is a list to help you identify the most important ones.
-
all_tests Builds a single test executable containing all the emulation code tests.
-
sdk Builds the SDK, examples and the test executables.
-
sdk_tests Runs the SDK tests.
-
micromachine_vm Builds the virtual machine command-line executable
vm/micromachine
. -
termdbg Builds the termui-based debugger
termdbg/termdbg
. If you are using CLion check out the Developing with CLion Wiki page
Make sure you have a C++17 compatible compiler (ex: gcc
>= 9.2.1) and cmake
>= 3.1 and that the following dependencies are installed on your system.
automake
libncursesw5-dev
binutils-arm-none-eabi
gcc-arm-none-eabi
socat
Then building the project like is like any other CMake project:
mkdir build
cd build
cmake ..
make -j $(nproc)
Building on platforms others than Linux is currently not supported.