2021-01-12 18:05:25 +01:00
|
|
|
#
|
2022-11-13 16:37:58 -05:00
|
|
|
# 86Box A hypervisor and IBM PC system emulator that specializes in
|
|
|
|
|
# running old operating systems and software designed for IBM
|
|
|
|
|
# PC systems and compatibles from 1981 through fairly recent
|
|
|
|
|
# system designs based on the PCI bus.
|
2021-01-12 18:05:25 +01:00
|
|
|
#
|
2022-11-13 16:37:58 -05:00
|
|
|
# This file is part of the 86Box distribution.
|
2021-01-12 18:05:25 +01:00
|
|
|
#
|
2022-11-13 16:37:58 -05:00
|
|
|
# CMake build script.
|
2021-01-12 18:05:25 +01:00
|
|
|
#
|
2022-11-13 16:37:58 -05:00
|
|
|
# Authors: David Hrdlička, <hrdlickadavid@outlook.com>
|
2021-01-12 18:05:25 +01:00
|
|
|
#
|
2023-01-06 15:36:29 -05:00
|
|
|
# Copyright 2020-2021 David Hrdlička.
|
2023-02-14 20:37:58 -05:00
|
|
|
# Copyright 2021 Andreas J. Reichel.
|
|
|
|
|
# Copyright 2021-2022 Jasmine Iwanek.
|
2021-01-12 18:05:25 +01:00
|
|
|
#
|
|
|
|
|
|
2021-07-29 20:34:55 +02:00
|
|
|
add_library(dev OBJECT bugger.c cassette.c cartridge.c hasp.c hwm.c hwm_lm75.c hwm_lm78.c hwm_gl518sm.c
|
2021-12-20 15:03:42 +01:00
|
|
|
hwm_vt82c686.c ibm_5161.c isamem.c isartc.c ../lpt.c pci_bridge.c
|
2024-01-07 11:50:22 +13:00
|
|
|
postcard.c serial.c unittester.c clock_ics9xxx.c isapnp.c i2c.c i2c_gpio.c
|
2024-02-22 00:52:20 +01:00
|
|
|
smbus_piix4.c smbus_ali7101.c smbus_sis5595.c keyboard.c keyboard_xt.c
|
2023-04-19 23:34:32 +02:00
|
|
|
kbc_at.c kbc_at_dev.c
|
|
|
|
|
keyboard_at.c
|
2023-12-28 22:12:21 +01:00
|
|
|
mouse.c mouse_bus.c mouse_serial.c mouse_ps2.c nec_mate_unk.c phoenix_486_jumper.c
|
2024-02-26 03:15:44 +06:00
|
|
|
serial_passthrough.c
|
2024-05-04 17:01:29 +06:00
|
|
|
novell_cardkey.c
|
|
|
|
|
mouse_microtouch_touchscreen.c)
|
2021-01-12 18:22:40 +01:00
|
|
|
|
2023-08-11 18:31:36 -03:00
|
|
|
if(NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
2023-08-11 22:29:53 +02:00
|
|
|
target_link_libraries(86Box atomic)
|
2023-08-11 18:31:36 -03:00
|
|
|
endif()
|
2023-08-11 22:29:53 +02:00
|
|
|
|
2022-01-26 19:03:12 -05:00
|
|
|
if(ISAMEM_RAMPAGE)
|
|
|
|
|
target_compile_definitions(dev PRIVATE USE_ISAMEM_RAMPAGE)
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
if(ISAMEM_IAB)
|
|
|
|
|
target_compile_definitions(dev PRIVATE USE_ISAMEM_IAB)
|
2022-01-26 23:24:19 -05:00
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
if(ISAMEM_BRAT)
|
|
|
|
|
target_compile_definitions(dev PRIVATE USE_ISAMEM_BRAT)
|
|
|
|
|
endif()
|
2022-02-14 05:11:08 +05:00
|
|
|
|
|
|
|
|
if(LASERXT)
|
|
|
|
|
target_compile_definitions(dev PRIVATE USE_LASERXT)
|
|
|
|
|
endif()
|
2024-08-08 19:13:20 -04:00
|
|
|
|
|
|
|
|
if(WACOM)
|
|
|
|
|
target_compile_definitions(dev PRIVATE USE_WACOM)
|
|
|
|
|
target_sources(dev PRIVATE mouse_wacom_tablet.c)
|
|
|
|
|
endif()
|