Add simple Vec3 header file

This commit is contained in:
Alex Selimov 2025-04-15 17:48:33 -04:00
parent 311a93cdd6
commit 24d7efc977
15 changed files with 321 additions and 137 deletions

View file

@ -1,35 +1,17 @@
cmake_minimum_required(VERSION 3.9)
project(MyProject LANGUAGES CUDA CXX)
project(Vec3)
enable_testing()
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
add_compile_options(-Wall -Wextra -Wpedantic)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CUDA_ARCHITECTURES 61)
set(CUDA_SEPARABLE_COMPILATION ON)
include_directories(src)
include_directories(kernels)
include_directories(/usr/local/cuda-12.8/include)
add_subdirectory(src)
add_subdirectory(kernels)
include_directories(include)
add_subdirectory(include)
add_subdirectory(tests)
add_executable(${CMAKE_PROJECT_NAME}_run main.cpp)
target_link_libraries(
${CMAKE_PROJECT_NAME}_run
PRIVATE
${CMAKE_PROJECT_NAME}_lib
${CMAKE_PROJECT_NAME}_cuda_lib
${CUDA_LIBRARIES}
)
# Doxygen Build
option(BUILD_DOC "Build Documentation" ON)