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.
29 lines
429 B
29 lines
429 B
|
|
|
|
set(csrc
|
|
file_utils.cc
|
|
math.cc
|
|
strings.cc
|
|
audio_process.cc
|
|
timer.cc
|
|
)
|
|
|
|
add_library(utils ${csrc})
|
|
|
|
if(WITH_TESTING)
|
|
enable_testing()
|
|
|
|
if(ANDROID)
|
|
else() # UNIX
|
|
link_libraries(gtest_main gmock)
|
|
|
|
add_executable(strings_test strings_test.cc)
|
|
target_link_libraries(strings_test PUBLIC utils)
|
|
add_test(
|
|
NAME strings_test
|
|
COMMAND strings_test
|
|
)
|
|
endif()
|
|
endif()
|
|
|