@@ -4,6 +4,7 @@ function(ADD_HYDRA_EXAMPLE target_name build_cuda build_tbb build_omp build_cpp
44 # CUDA TARGETS |
55 #+++++++++++++++++++++++++
66 if ( ${${build_cuda} } )
7+
78 message (STATUS "Adding target ${target_name} to CUDA backend. Executable file name: ${target_name} _cuda" )
89
910 cuda_add_executable("${target_name} _cuda"
@@ -14,9 +15,9 @@ function(ADD_HYDRA_EXAMPLE target_name build_cuda build_tbb build_omp build_cpp
1415 target_link_libraries ("${target_name} _cuda" ${ROOT_LIBRARIES} ${TBB_LIBRARIES} ${GSL_LIBRARIES} ${CUDA_CUFFT_LIBRARIES} -lm)
1516
1617 add_dependencies (examples "${target_name} _cuda" )
17-
18+
1819 endif ( ${${build_cuda} } )
19-
20+
2021 #+++++++++++++++++++++++++
2122 # TBB TARGETS |
2223 #+++++++++++++++++++++++++
@@ -39,6 +40,7 @@ function(ADD_HYDRA_EXAMPLE target_name build_cuda build_tbb build_omp build_cpp
3940 # CPP TARGETS |
4041 #+++++++++++++++++++++++++
4142 if ( ${${build_cpp} } )
43+
4244 message (STATUS "Adding target ${target_name} to CPP backend. Executable file name: ${target_name} _cpp" )
4345 add_executable ("${target_name} _cpp"
4446 # EXCLUDE_FROM_ALL
@@ -52,8 +54,6 @@ function(ADD_HYDRA_EXAMPLE target_name build_cuda build_tbb build_omp build_cpp
5254 add_dependencies (examples "${target_name} _cpp" )
5355
5456 endif ( ${${build_cpp} } )
55-
56-
5757 #+++++++++++++++++++++++++
5858 # OMP TARGETS |
5959 #+++++++++++++++++++++++++
@@ -72,4 +72,4 @@ function(ADD_HYDRA_EXAMPLE target_name build_cuda build_tbb build_omp build_cpp
7272
7373 endif (${${build_omp} })
7474
75- endfunction (ADD_HYDRA_EXAMPLE)
75+ endfunction (ADD_HYDRA_EXAMPLE)
0 commit comments