summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda/ToolkitInclude/CMakeLists.txt
blob: f246b5449d515c61401c32939eec84108d94a809 (plain)
1
2
3
4
5
6
7
8
9
10
11
cmake_minimum_required(VERSION 3.8)
project (ToolkitInclude CXX CUDA)

#Goal for this example:
# Validate that between the CXX implicit include directories and the
# CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES directories we can find
# the cuda runtime headers

add_executable(CudaToolkitInclude main.cpp)
target_include_directories(CudaToolkitInclude PRIVATE
                           ${CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES})