Add CUDA support

This commit is contained in:
Alex Selimov 2025-04-16 18:00:55 -04:00
parent fbc34a0bdd
commit 80d3b6276e
7 changed files with 223 additions and 10 deletions

View file

@ -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)