diff --git a/CMakeLists.txt b/CMakeLists.txt index cb3abd3..a09314c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,6 +102,12 @@ add_subdirectory(submodules/dsptap) add_library(ambitap INTERFACE) add_library(AmbiTap::ambitap ALIAS ambitap) +# The family-wide alias, per the namespace convention in taphouse's README: one +# `tap::` sub-namespace per repo, and the CMake alias matches it. The +# older spelling above stays so existing consumers keep working; prefer +# `tap::ambi` in new code. Note this is a build-tree alias only -- the +# installed config package still exports under its own namespace. +add_library(tap::ambi ALIAS ambitap) target_include_directories(ambitap INTERFACE $ $) diff --git a/book/book.toml b/book/book.toml index 5c200e0..f9248de 100644 --- a/book/book.toml +++ b/book/book.toml @@ -11,4 +11,9 @@ create-missing = false [output.html] default-theme = "rust" git-repository-url = "https://github.com/tap/AmbiTap" -site-url = "/AmbiTap/book/" +# The Pages site is assembled in docs.yml as site/ with this book at the ROOT +# (and the Doxygen API reference under site/api/), so the book is served from +# /AmbiTap/, not /AmbiTap/book/. site-url feeds the absolute links in the +# generated 404.html; pointing it at a path the site does not have gave the +# 404 page a broken "home" link. +site-url = "/AmbiTap/" diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 8fb621a..3ae34f9 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,8 +1,16 @@ include(FetchContent) +# Fetched by git clone at a commit pin, which is the form every sibling *Tap repo +# uses (DspTap/MuTap/RatioTap/SampleRateTap). This repo previously declared a +# release *tarball* instead; that is the one mechanism an HTTPS-proxied build +# environment blocks, so AmbiTap was the only library in the family whose tests +# could not be configured behind a proxy. Note the family currently runs two +# GTest versions -- this repo on v1.15.2, the other four on v1.14.0. Unifying +# them is a deliberate call for whoever needs it, not a side effect of this +# mechanism change. FetchContent_Declare(googletest - URL https://github.com/google/googletest/archive/refs/tags/v1.15.2.tar.gz - URL_HASH SHA256=7b42b4d6ed48810c5362c265a17faebe90dc2373c885e5216439d37927f02926 - DOWNLOAD_EXTRACT_TIMESTAMP TRUE + GIT_REPOSITORY https://github.com/google/googletest.git + # Commit pin, not the movable tag: tags can be re-pointed upstream. + GIT_TAG b514bdc898e2951020cbdca1304b75f5950d1f59 # v1.15.2 # Prefer an already-installed GTest (offline builds, distro packages). FIND_PACKAGE_ARGS NAMES GTest )