You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,6 +99,7 @@ It gets the following named parameters (each accepting multiple values):
99
99
-`MSVC_WARNINGS`: Override the defaults for the MSVC warnings
100
100
-`CLANG_WARNINGS`: Override the defaults for the CLANG warnings
101
101
-`GCC_WARNINGS`: Override the defaults for the GCC warnings
102
+
-`CUDA_WARNINGS`: Override the defaults for the CUDA warnings
102
103
-`CONAN_OPTIONS`: Extra Conan options
103
104
104
105
## `run_vcpkg` function
@@ -122,15 +123,15 @@ A very useful function that accepts the same arguments as `target_link_libraries
122
123
123
124
Similar to `target_include_directories`, but it suppresses the warnings. It is useful if you want to include some external directories directly.
124
125
125
-
## `find_and_link_cuda` function
126
+
## `target_link_cuda` function
126
127
127
-
A function that links Cuda to the given target. This function automatically links the compiler warnings, so do not link `project_warnings` with your target.
Copy file name to clipboardExpand all lines: src/Cuda.cmake
+5-15Lines changed: 5 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
-
# ! find_and_link_cuda
2
-
# A function that links Cuda to the given target. This function automatically links the compiler warnings, so do not link `project_warnings` with your target.
0 commit comments