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.
28 lines
418 B
28 lines
418 B
|
|
|
|
set(csrc
|
|
file_utils.cc
|
|
math.cc
|
|
strings.cc
|
|
audio_process.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()
|
|
|