1
0
mirror of https://github.com/open-simh/simh.git synced 2026-05-01 05:58:54 +00:00

CMake build infrastructure II (#53)

* 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.
This commit is contained in:
B. Scott Michel
2023-05-17 17:18:42 -07:00
committed by GitHub
parent 793149d1bd
commit 8b14bb69be
98 changed files with 13549 additions and 23 deletions

38
sigma/CMakeLists.txt Normal file
View File

@@ -0,0 +1,38 @@
## sigma 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(sigma
SOURCES
sigma_cpu.c
sigma_sys.c
sigma_cis.c
sigma_coc.c
sigma_dk.c
sigma_dp.c
sigma_fp.c
sigma_io.c
sigma_lp.c
sigma_map.c
sigma_mt.c
sigma_pt.c
sigma_rad.c
sigma_rtc.c
sigma_tt.c
INCLUDES
${CMAKE_CURRENT_SOURCE_DIR}
LABEL sigma
PKG_FAMILY sds_family
TEST sigma)