1
0

Adding private include for cpp files.

This commit is contained in:
Pcornat 2024-03-25 18:26:12 +01:00
parent 34d8eb6051
commit 870fc9e9c5
Signed by: Pcornat
GPG Key ID: E0326CC678A00BDD

View File

@ -13,6 +13,7 @@ add_library(raiiSafeCuda SHARED
${SAFE_CUDA_HEADERS}
${SAFE_CUDA_SOURCES}
)
target_include_directories(raiiSafeCuda PRIVATE include)
target_precompile_headers(raiiSafeCuda PRIVATE ${SAFE_CUDA_HEADERS})
target_compile_definitions(raiiSafeCuda PRIVATE $<$<CONFIG:Debug>:_GLIBCXX_DEBUG>)
target_compile_options(raiiSafeCuda PRIVATE -pipe -Wall -Wextra -pedantic)