kokkos / mdspan

Reference implementation of mdspan targeting C++23
Other
398 stars 65 forks source link

What targets are defined by find_package( mdspan )? #339

Open VictorEijkhout opened 2 months ago

VictorEijkhout commented 2 months ago

mdspan comes with .cmake files, but I'm not good enough at cmake exegesis to figure out what targets they define. Can someone elucidate?

VictorEijkhout commented 2 months ago

Ah. The cmake setup in examples:

find_package( mdspan REQUIRED )
target_link_libraries(${PROJECT_NAME} PUBLIC std::mdspan)

Maybe this can be added to some documentation somewhere?

mhoemmen commented 2 months ago

Hi @VictorEijkhout ! Would you consider making a small pull request that changes README.md (in the project's root directory) with the desired documentation? Thanks! : - )

VictorEijkhout commented 2 months ago

Done, I think. @mhoemmen (are you going to CppCon?)

mhoemmen commented 2 months ago

Thanks @VictorEijkhout ! : - ) I do plan to go to CppCon. Will you be there?