Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
cmake_minimum_required(VERSION 3.15) project(app) include(FetchContent) FetchContent_Declare(Eigen3 URL https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.gz) FetchContent_MakeAvailable(Eigen3) add_executable(app main.cpp) target_link_libraries(app Eigen3::Eigen)
Use a package manager such as Conan or vcpkg. You can check cmake-init to see how to integrate them in an idiomatic fashion.
Thank you for your suggestion. I decided to use URL because it was recommended in another repository (not Eigen's). Search for "It is recommended to use the URL approach described above" here. Does it make sense? I assume that downloads are faster this way.
Related posts
- C++ Reflection for Component Serialization and Inspection
- Json-c error
- PocketPy: A Lightweight(~5000 LOC) Python Implementation in C++17
- Is there a good cross-platform (Windows / Linux) C or C++ library for file I/O?
- Good repos for beginners to browse that follow best modern C++ practices (including testing, static analysis etc...)