Skip to content

Instantly share code, notes, and snippets.

@ax3l
Last active May 14, 2021 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ax3l/b2399f2e8923def6a5e55f8bd4e5384c to your computer and use it in GitHub Desktop.
Save ax3l/b2399f2e8923def6a5e55f8bd4e5384c to your computer and use it in GitHub Desktop.
openPMD-api usage example: CMake
cmake_minimum_required(VERSION 3.11)
project(openPMD_test)
add_executable(mytest main.cpp)
target_compile_features(mytest PRIVATE cxx_std_14)
find_package(openPMD REQUIRED CONFIG)
target_link_libraries(mytest PRIVATE openPMD::openPMD)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment