Last active
May 14, 2021 16:22
-
-
Save ax3l/b2399f2e8923def6a5e55f8bd4e5384c to your computer and use it in GitHub Desktop.
openPMD-api usage example: CMake
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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