ADIOS2 uses `CMake <https://cmake.org/>`_ version 3.6 or above. You consume it directly from another CMake project, use the `find_package` call and set the `ADIOS2_ROOT` or `ADISO2_DIR` environment variables to the install prefix for adios:
Or if you're not using CMake then you can manually get the necessary compile and link flags for your project using the adios2-config tool from the installation folder: