Adding private include for cpp files.
This commit is contained in:
parent
34d8eb6051
commit
870fc9e9c5
@ -13,6 +13,7 @@ add_library(raiiSafeCuda SHARED
|
|||||||
${SAFE_CUDA_HEADERS}
|
${SAFE_CUDA_HEADERS}
|
||||||
${SAFE_CUDA_SOURCES}
|
${SAFE_CUDA_SOURCES}
|
||||||
)
|
)
|
||||||
|
target_include_directories(raiiSafeCuda PRIVATE include)
|
||||||
target_precompile_headers(raiiSafeCuda PRIVATE ${SAFE_CUDA_HEADERS})
|
target_precompile_headers(raiiSafeCuda PRIVATE ${SAFE_CUDA_HEADERS})
|
||||||
target_compile_definitions(raiiSafeCuda PRIVATE $<$<CONFIG:Debug>:_GLIBCXX_DEBUG>)
|
target_compile_definitions(raiiSafeCuda PRIVATE $<$<CONFIG:Debug>:_GLIBCXX_DEBUG>)
|
||||||
target_compile_options(raiiSafeCuda PRIVATE -pipe -Wall -Wextra -pedantic)
|
target_compile_options(raiiSafeCuda PRIVATE -pipe -Wall -Wextra -pedantic)
|
||||||
|
Loading…
Reference in New Issue
Block a user