summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FileAPI
diff options
context:
space:
mode:
authorRobert Maynard <rmaynard@nvidia.com>2021-04-20 17:25:53 (GMT)
committerRobert Maynard <rmaynard@nvidia.com>2021-04-20 17:25:53 (GMT)
commite4ff2b51b95d26dcfb70f0351328d1a285c22800 (patch)
tree8cf53c4d51aa65fd95f51d055e3be610bd82dfb0 /Tests/RunCMake/FileAPI
parent63ffe210365ce2d1dd67fcabcc67e20913f320a8 (diff)
downloadCMake-e4ff2b51b95d26dcfb70f0351328d1a285c22800.zip
CMake-e4ff2b51b95d26dcfb70f0351328d1a285c22800.tar.gz
CMake-e4ff2b51b95d26dcfb70f0351328d1a285c22800.tar.bz2
Help: Demonstrate using set_target_properties with CUDA architectures
A common anti-pattern is to copy from the `CUDA_ARCHITECTURES` documentation. If at any point the user tries to simplify by changin `set_property` to `set_target_properties` the code breaks. To better train users, provide and example of how to set multiple CUDA architectures with `set_target_properties`.
Diffstat (limited to 'Tests/RunCMake/FileAPI')
0 files changed, 0 insertions, 0 deletions