* don't install cmake test binaries
* fix variable names in Doxyfile.in
* install doc files
This commit is contained in:
Alexandre Bouvier 2022-09-16 00:22:02 +02:00 коммит произвёл Matthew Gregan
Родитель 4783607ecc
Коммит 06aa271e5b
2 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -371,6 +371,7 @@ if(DOXYGEN_FOUND)
${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/docs/Doxyfile
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docs
COMMENT "Generating API documentation with Doxygen" VERBATIM)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docs/html/ TYPE DOC)
endif()
if(BUILD_TESTS)
@ -382,7 +383,6 @@ if(BUILD_TESTS)
target_link_libraries(test_${NAME} PRIVATE cubeb gtest_main)
add_test(${NAME} test_${NAME} --gtest_death_test_style=threadsafe)
add_sanitizers(test_${NAME})
install(TARGETS test_${NAME})
endmacro(cubeb_add_test)
cubeb_add_test(sanity)
@ -397,7 +397,6 @@ if(BUILD_TESTS)
target_link_libraries(test_resampler PRIVATE cubeb gtest_main speex)
add_test(resampler test_resampler)
add_sanitizers(test_resampler)
install(TARGETS test_resampler)
cubeb_add_test(duplex)

Просмотреть файл

@ -1,5 +1,5 @@
PROJECT_NAME = @PACKAGE@
PROJECT_NUMBER = @VERSION@
PROJECT_NAME = @PROJECT_NAME@
PROJECT_NUMBER = @PROJECT_VERSION@
OUTPUT_DIRECTORY = .
JAVADOC_AUTOBRIEF = YES
OPTIMIZE_OUTPUT_FOR_C = YES