mirror of
https://github.com/CamHenlin/MessagesForMacintosh.git
synced 2024-11-24 07:31:08 +00:00
17 lines
436 B
CMake
17 lines
436 B
CMake
# HOW TO BUILD USING CMAKE as a standalone project:
|
|
# mkdir build
|
|
# cd build
|
|
# cmake .. -DCMAKE_TOOLCHAIN_FILE=path/to/Retro68-build/toolchain/cmake/retro68.toolchain.cmake
|
|
# make
|
|
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
set (CMAKE_C_FLAGS "-Ofast -Wuninitialized -Wmaybe-uninitialized -mcpu=68000 -mtune=68000 -m68000 -Wall")
|
|
|
|
add_application(MessagesForMacintosh
|
|
SerialHelper.c
|
|
coprocessorjs.c
|
|
mac_main.c
|
|
mac_main.r
|
|
)
|