* CMake build infrastructure The squashed commit that builds and packages releases for the SIMH simulator suite with CMake, version 3.14 or newer. See README-CMake.md for documentation.
34 lines
873 B
CMake
34 lines
873 B
CMake
## B5500 simulator
|
|
##
|
|
## This is an automagically generated file. Do NOT EDIT.
|
|
## Any changes you make will be overwritten!!
|
|
##
|
|
## Make changes to the SIMH top-level makefile and then run the
|
|
## "cmake/generate.py" script to regenerate these files.
|
|
##
|
|
## cd cmake; python -m generate --help
|
|
##
|
|
## ------------------------------------------------------------
|
|
|
|
if (HAVE_UNITY_FRAMEWORK AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/unit-tests/CMakeLists.txt")
|
|
add_subdirectory(unit-tests)
|
|
endif ()
|
|
|
|
add_simulator(b5500
|
|
SOURCES
|
|
b5500_cpu.c
|
|
b5500_io.c
|
|
b5500_sys.c
|
|
b5500_dk.c
|
|
b5500_mt.c
|
|
b5500_urec.c
|
|
b5500_dr.c
|
|
b5500_dtc.c
|
|
INCLUDES
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
DEFINES
|
|
B5500
|
|
FEATURE_INT64
|
|
LABEL B5500
|
|
PKG_FAMILY b5500_family
|
|
TEST b5500)
|