moved and updated with target link libs.
This commit is contained in:
parent
272eed6304
commit
beff37f324
|
@ -1,10 +1,16 @@
|
||||||
# LOCATION: projectroot/src
|
# LOCATION: projectroot/src
|
||||||
add_executable(main
|
|
||||||
main.c
|
|
||||||
ch32v20x_it.c
|
|
||||||
)
|
|
||||||
|
|
||||||
add_subdirectory(core)
|
add_subdirectory(core)
|
||||||
add_subdirectory(peripheral)
|
add_subdirectory(peripheral)
|
||||||
add_subdirectory(system)
|
add_subdirectory(system)
|
||||||
add_subdirectory(startup)
|
add_subdirectory(startup)
|
||||||
|
|
||||||
|
|
||||||
|
add_executable(main
|
||||||
|
main.c
|
||||||
|
ch32v20x_it.c
|
||||||
|
)
|
||||||
|
|
||||||
|
target_link_libraries(main
|
||||||
|
core_riscv
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue