2021-07-17 21:59:18 +00:00
|
|
|
# Create a list of all source files specific to the PC
|
|
|
|
set(HWSOURCES
|
|
|
|
hal/pc/board.c
|
2021-08-01 00:06:58 +00:00
|
|
|
hal/pc/flash_4mbit.c
|
2021-07-17 21:59:18 +00:00
|
|
|
hal/pc/gpio.c
|
2021-08-01 00:06:58 +00:00
|
|
|
hal/pc/gpio_sim.c
|
2021-07-25 23:21:36 +00:00
|
|
|
hal/pc/main.cpp
|
|
|
|
hal/pc/mainwindow.cpp
|
|
|
|
hal/pc/mainwindow.ui
|
2021-07-17 21:59:18 +00:00
|
|
|
hal/pc/parallel_bus.c
|
2021-07-25 23:21:36 +00:00
|
|
|
hal/pc/programmerthread.cpp
|
2021-07-17 21:59:18 +00:00
|
|
|
hal/pc/spi.c
|
|
|
|
hal/pc/usbcdc.c
|
2021-07-25 23:21:36 +00:00
|
|
|
hal/pc/usbsimulationmanager.cpp
|
2021-07-17 21:59:18 +00:00
|
|
|
)
|
2021-07-25 23:21:36 +00:00
|
|
|
|
|
|
|
# Use Qt on the PC build to create a nice GUI
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
set(CMAKE_AUTORCC ON)
|
|
|
|
set(CMAKE_AUTOUIC ON)
|
|
|
|
find_package(Qt5 COMPONENTS Widgets Concurrent REQUIRED)
|