2021-09-11 21:02:46 +02:00
|
|
|
include_directories("${PROJECT_SOURCE_DIR}"
|
2021-09-16 00:46:38 +02:00
|
|
|
"${PROJECT_SOURCE_DIR}/thirdparty/loguru/"
|
2021-09-11 21:02:46 +02:00
|
|
|
"${PROJECT_SOURCE_DIR}/thirdparty/SDL2/")
|
2020-02-03 14:36:30 +01:00
|
|
|
|
2021-10-23 20:17:47 +02:00
|
|
|
file(GLOB SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/common/*.cpp"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/common/adb/*.cpp"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/common/i2c/*.cpp"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/common/pci/*.cpp"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/common/scsi/*.cpp"
|
2021-10-24 21:02:30 +02:00
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/ethernet/*.cpp"
|
2021-12-04 14:22:02 +01:00
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/floppy/*.cpp"
|
2021-10-23 20:17:47 +02:00
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/ioctrl/*.cpp"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/memctrl/*.cpp"
|
2021-10-25 22:19:27 +02:00
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/serial/*.cpp"
|
2021-10-23 20:17:47 +02:00
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/sound/*.cpp"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/video/*.cpp"
|
|
|
|
)
|
2020-02-03 14:36:30 +01:00
|
|
|
|
|
|
|
add_library(devices OBJECT ${SOURCES})
|
2020-05-15 02:36:40 +02:00
|
|
|
target_link_libraries(devices PRIVATE cubeb)
|