Files
86Box/src/device/CMakeLists.txt

37 lines
1.2 KiB
CMake
Raw Normal View History

2021-01-12 18:05:25 +01: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
#
# This file is part of the 86Box distribution.
2021-01-12 18:05:25 +01:00
#
# CMake build script.
2021-01-12 18:05:25 +01:00
#
# Authors: David Hrdlička, <hrdlickadavid@outlook.com>
2021-01-12 18:05:25 +01:00
#
# Copyright 2020,2021 David Hrdlička.
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
hwm_vt82c686.c ibm_5161.c isamem.c isartc.c ../lpt.c pci_bridge.c
postcard.c serial.c clock_ics9xxx.c isapnp.c i2c.c i2c_gpio.c
smbus_piix4.c smbus_ali7101.c keyboard.c keyboard_xt.c keyboard_at.c
mouse.c mouse_bus.c mouse_serial.c mouse_ps2.c phoenix_486_jumper.c)
2021-01-12 18:22:40 +01:00
if(LASERXT)
target_compile_definitions(dev PRIVATE USE_LASERXT)
2022-01-26 19:03:12 -05:00
endif()
if(ISAMEM_RAMPAGE)
target_compile_definitions(dev PRIVATE USE_ISAMEM_RAMPAGE)
endif()
if(ISAMEM_IAB)
target_compile_definitions(dev PRIVATE USE_ISAMEM_IAB)
endif()
if(ISAMEM_BRAT)
target_compile_definitions(dev PRIVATE USE_ISAMEM_BRAT)
endif()