CMake: Add `.cpp` files to target_sources

C++ files were excluded from target_sources, this meant that those files
were being missed entirely during the build process. This adds any files
that may have missed in the first commit.
pull/14561/head
harmut01 2021-04-19 14:04:40 +01:00
parent 9738b27c7d
commit 961ec0ce7f
2 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,7 @@ target_sources(mbed-rz-a1xx
spi_api.c
trng_api.c
us_ticker.c
USBPhy_RZ_A1.cpp
common/rza_io_regrw.c
)

View File

@ -30,11 +30,13 @@ target_sources(mbed-rz-a2xx
sleep.c
spi_api.c
us_ticker.c
USBPhy_RZ_A2.cpp
common/r_cache/src/lld/r_cache_lld_rza2m.c
common/r_octabus/src/lld/r_octabus_lld_rza2m_api.c
common/r_octabus/src/lld/r_octabus_memclk_setup.c
common/rza_io_regrw.c
common/target_override_console.cpp
r_can/src/r_can_rz.c
)