| name | ats-build |
| description | Basic skills; formatting, compiling, testing, installing. |
Build Process
- Which
cmake --list-presets?
- Need HTTP3?
ci-fedora-quiche
- Not sure? Ask.
- No build directory yet? Configure one.
- Which target?
- Execute.
Reference
Configure Development Build
cmake --preset <name> [-B <build_dir>] -DENABLE_AUTEST=ON
Build Code Target
cmake --build <build_dir> --target <executable_or_library_target>
Run Unit Test
ctest --test-dir <build_dir> [-R <filter>]
Format
cmake --build <build_dir> --target format
Run AuTest
Options correct? Check:
grep "^AUTEST_OPTIONS" <build_dir>/CMakeCache.txt
Correct? Run:
cmake --build <build_dir> --target autest
Example: Configure Build for Specific AuTest
cmake -B <build_dir> -DAUTEST_OPTIONS="-f <autest_name>"
Install
Install location OK? Check:
grep "^CMAKE_INSTALL_PREFIX" <build_dir>/CMakeCache.txt
Correct? Run:
cmake --install <build_dir>
Key CMake Options
BUILD_EXPERIMENTAL_PLUGINS=ON - Enable experimental plugins
ENABLE_QUICHE=ON - QUIC/HTTP3 support
ENABLE_CRIPTS=ON - Cripts scripting API
BUILD_REGRESSION_TESTING=ON - Enable test suite
ENABLE_ASAN=ON - Configure ASan instrumentation