You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
513 B
20 lines
513 B
set(srcs
|
|
vad.cc
|
|
)
|
|
|
|
add_library(pps_vad ${srcs})
|
|
target_link_libraries(pps_vad PUBLIC ${FASTDEPLOY_LIBS} common extern_glog)
|
|
|
|
|
|
set(bin_name vad_nnet_main)
|
|
add_executable(${bin_name} ${CMAKE_CURRENT_SOURCE_DIR}/${bin_name}.cc)
|
|
target_link_libraries(${bin_name} pps_vad)
|
|
|
|
file(RELATIVE_PATH DEST_DIR ${ENGINE_ROOT} ${CMAKE_CURRENT_SOURCE_DIR})
|
|
install(TARGETS pps_vad DESTINATION lib)
|
|
if(ANDROID)
|
|
install(TARGETS extern_glog DESTINATION lib)
|
|
else() # UNIX
|
|
install(TARGETS glog DESTINATION lib)
|
|
endif()
|