Add CUDA support
This commit is contained in:
parent
fbc34a0bdd
commit
80d3b6276e
7 changed files with 223 additions and 10 deletions
|
@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.9)
|
|||
set(NAME "Vec3")
|
||||
project(${NAME})
|
||||
|
||||
# Check for CUDA
|
||||
include(CheckLanguage)
|
||||
check_language(CUDA)
|
||||
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
add_compile_options(-Wall -Wextra -Wpedantic)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue