CMake project structure with ymir_core, ymir_naval, and ymir_adapters static library targets. Catch2 and nlohmann/json via FetchContent; SUNDIALS and CGAL probed as optional system deps (required from M1/M2). Smoke tests pass on macOS ARM64. Docker multi-stage image for Linux x86_64. GitHub Actions CI matrix: Linux x86_64, macOS ARM64, Windows x86_64. Code quality tooling: .clang-format, .clang-tidy, Doxyfile. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16 lines
362 B
C++
16 lines
362 B
C++
#include <catch2/catch_test_macros.hpp>
|
|
#include <ymir/version.h>
|
|
|
|
TEST_CASE("build system is wired up", "[smoke]")
|
|
{
|
|
REQUIRE(YMIR_VERSION_MAJOR >= 0);
|
|
REQUIRE(YMIR_VERSION_MINOR >= 0);
|
|
REQUIRE(YMIR_VERSION_PATCH >= 0);
|
|
}
|
|
|
|
TEST_CASE("version string is non-empty", "[smoke]")
|
|
{
|
|
std::string v = YMIR_VERSION_STRING;
|
|
REQUIRE_FALSE(v.empty());
|
|
}
|