mirror of
https://github.com/fumiama/base16384-sycl.git
synced 2026-06-11 21:50:46 +08:00
optimize(test): move test kernels into test class
This commit is contained in:
@@ -5,12 +5,12 @@ set(LOCAL_B14LIBS "")
|
||||
foreach(CPP_FILE ${CPP_FILES})
|
||||
# name without .cpp
|
||||
get_filename_component(TARGET_NAME ${CPP_FILE} NAME_WE)
|
||||
message(STATUS "Add lib: ${TARGET_NAME}")
|
||||
message(STATUS "Add CPP lib: ${TARGET_NAME}")
|
||||
add_library(${TARGET_NAME} STATIC ${CPP_FILE})
|
||||
|
||||
set_target_properties(${TARGET_NAME} PROPERTIES COMPILE_FLAGS "${COMPILE_FLAGS}")
|
||||
set_target_properties(${TARGET_NAME} PROPERTIES LINK_FLAGS "${LINK_FLAGS}")
|
||||
|
||||
|
||||
list(APPEND LOCAL_B14LIBS ${TARGET_NAME})
|
||||
endforeach()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user