Build intermediates from Pico build.

This commit is contained in:
Oliver Schmidt 2024-01-21 16:10:12 +01:00
parent a3d8e9e790
commit ce9a273e67
2 changed files with 10 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,5 +1,7 @@
*-bak
*.lst
*.o
*.bin
*.DS_Store
RaspberryPi/apple2driver/apple2driver
RaspberryPi/Apple2-IO-RPi.log

View File

@ -18,6 +18,14 @@ FetchContent_Declare(a2pico
)
FetchContent_MakeAvailable(a2pico)
set_source_files_properties(incbin.S OBJECT_DEPENDS ../../Apple2/AT28C64B.bin)
add_custom_command(
WORKING_DIRECTORY ../../Apple2
COMMAND ./assemble.sh 1
OUTPUT ../../Apple2/AT28C64B.bin
VERBATIM
)
target_sources(${PROJECT_NAME} PRIVATE
main.c
board.c