-
Notifications
You must be signed in to change notification settings - Fork 188
CMake
Alex Siryi edited this page Jul 25, 2022
·
4 revisions
It is possible to build z88dk projects with CMake. Use the following extra arguments to your CMake project when generating:
cmake -DZCCTARGET=<target> -DCMAKE_TOOLCHAIN_FILE=/usr/local/share/z88dk/cmake/Toolchain-zcc.cmake <project>
Should you have z88dk installed in different location, the toolchain file is located in cmake/Toolchain-zcc.cmake of the installed z88dk.
Typical way of generating a project is as follows:
mkdir build
cd build
cmake <args above> ..
make
- Overview
- Platform List
- Unsupported Platforms
- i8080/5 Support
- Homebrew hardware quickstart
- Retargetting
- Building the libraries
- Clang support
- Pragmas
- Adding to Classic
- Introduction
- Library Configuration
- CRT
- Header Files
- Assembly Language
- Library in Depth
- Embedded Platform
- Adding to NewLib
- Benchmarks
- Datatypes
- Debugging
- Decompression
- More than 64k
- Deficiencies
- Compiling Larger Applications
- Importing routines written in 8080 assembly mnemonics
- Using CP/M libraries in REL format with z88dk
- Writing optimal code
- Speeding up Compilation
- CMake usage