CMake: Preserve CUDA flag initialization during compiler detection Seed detection flags from CUDAFLAGS and CMAKE_CUDA_FLAGS_INIT only when CMAKE_CUDA_FLAGS is undefined, then use CMake's initialized cache for build flags. Keep Eigen additions outside the cache so reconfiguration preserves user defaults without retaining old Eigen flags. Add a build-system regression using CMake's CUDA flag initializer, covering environment and toolchain defaults, late compiler defaults, explicit and empty overrides, Clang routing, and reconfiguration.
Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
For more information go to http://eigen.tuxfamily.org/ or https://libeigen.gitlab.io.
For pull request, bug reports, and feature requests, go to https://gitlab.com/libeigen/eigen.