> configure(npc)
ysyx_22040000 李心杨 Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux 20:02:26 up 2 days 19:03, 2 users, load average: 2.28, 1.07, 0.50
This commit is contained in:
parent
6f08380bc3
commit
982e28f43a
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ foreach(TOPMODULE IN LISTS TOPMODULES)
|
||||||
PREFIX V${TOPMODULE}
|
PREFIX V${TOPMODULE}
|
||||||
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${TOPMODULE}/vsrc/${TOPMODULE}.v)
|
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${TOPMODULE}/vsrc/${TOPMODULE}.v)
|
||||||
|
|
||||||
add_dependencies(V${TOPMODULE}_nvboard ChiselBuild)
|
add_dependencies(V${TOPMODULE}_nvboard ChiselBuild_${TOPMODULE})
|
||||||
target_include_directories(V${TOPMODULE}_nvboard PRIVATE ${NVBOARD_INCLUDE_DIR} ${SDL2_INCLUDE_DIRS})
|
target_include_directories(V${TOPMODULE}_nvboard PRIVATE ${NVBOARD_INCLUDE_DIR} ${SDL2_INCLUDE_DIRS})
|
||||||
target_link_libraries(V${TOPMODULE}_nvboard PRIVATE ${NVBOARD_LIBRARY} SDL2::SDL2 SDL2_image::SDL2_image)
|
target_link_libraries(V${TOPMODULE}_nvboard PRIVATE ${NVBOARD_LIBRARY} SDL2::SDL2 SDL2_image::SDL2_image)
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ foreach(TOPMODULE IN LISTS TOPMODULES)
|
||||||
PREFIX V${TOPMODULE}
|
PREFIX V${TOPMODULE}
|
||||||
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${TOPMODULE}/vsrc/${TOPMODULE}.v)
|
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${TOPMODULE}/vsrc/${TOPMODULE}.v)
|
||||||
|
|
||||||
add_dependencies(V${TOPMODULE} ChiselBuild)
|
add_dependencies(V${TOPMODULE} ChiselBuild_${TOPMODULE})
|
||||||
|
|
||||||
enable_testing()
|
enable_testing()
|
||||||
add_test(NAME V${TOPMODULE} COMMAND V${TOPMODULE})
|
add_test(NAME V${TOPMODULE} COMMAND V${TOPMODULE})
|
||||||
|
|
Loading…
Reference in a new issue