Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split CMake RDC utilities from Celeritas macros (#1104)
* cmake: Use cuda_rdc_* for CUDA relocatable device code support * cmake: add celeritas_target_compile_options wrapper * Apply POSITION_INDEPENDENT_CODE only to the object library * Do not use cuda_rdc if USE_VECGEOM is false * Install CudaRdcUtils.cmake * Add more celeritas rdc wrappers and fix existing ones. * Re-add CeleritasLibrary.cmake for backwark compatibility. Add missing install of CeleritasUtils.cmake * Add celeritas_sources_contains_cuda * Fix typo in doc/comment * Update exampes, library usage * Fix variable being set in parent scope by using macros to forward * Also don't use if not CUDA * Fix typo in documentation. Co-authored-by: Seth R. Johnson <johnsonsr@ornl.gov> * Correct implementation of cuda_rdc_add_library for ALIAS * Add support for ALIAS in cuda_rdc_get_sources_and_options * Avoid FindCUDA's version by renaming cuda_[rdc_]get_sources_and_options
- Loading branch information