> 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
  18:21:53  up 2 days 17:22,  2 users,  load average: 1.06, 0.99, 0.87
This commit is contained in:
tracer-ysyx 2024-01-10 18:21:53 +08:00 committed by xinyangli
parent 16a3563224
commit 602c9bdd2b
No known key found for this signature in database

View file

@ -17,7 +17,10 @@ find_package(verilator REQUIRED)
find_library(NVBOARD_LIBRARY NAMES nvboard) find_library(NVBOARD_LIBRARY NAMES nvboard)
find_path(NVBOARD_INCLUDE_DIR NAMES nvboard.h) find_path(NVBOARD_INCLUDE_DIR NAMES nvboard.h)
set(TOPMODULE "Keyboard") set(TOPMODULES "Keyboard")
foreach(TOPMODULE in LISTS TOPMODULES)
set(SCALA_CORE "${CMAKE_CURRENT_SOURCE_DIR}/core") set(SCALA_CORE "${CMAKE_CURRENT_SOURCE_DIR}/core")
set(CHISEL_MODULE_CLASS "${CMAKE_PROJECT_NAME}.${TOPMODULE}") set(CHISEL_MODULE_CLASS "${CMAKE_PROJECT_NAME}.${TOPMODULE}")
file(GLOB_RECURSE SCALA_CORE_SOURCES "${SCALA_CORE}/src/main/scala/*.scala") file(GLOB_RECURSE SCALA_CORE_SOURCES "${SCALA_CORE}/src/main/scala/*.scala")
@ -88,3 +91,5 @@ add_custom_command(
COMMAND ${CMAKE_SOURCE_DIR}/../git_commit.sh "build_${CMAKE_PROJECT_NAME}_V${TOPMODULE}" COMMAND ${CMAKE_SOURCE_DIR}/../git_commit.sh "build_${CMAKE_PROJECT_NAME}_V${TOPMODULE}"
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/.. WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/..
) )
endforeach()