File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ function(cuco_add_header_tests)
4242 list (REMOVE_ITEM headers ${excluded_headers} )
4343 endif ()
4444
45- # Create a separate executable for each header to avoid multiple main() definitions
4645 foreach (header IN LISTS headers)
4746 # Create a safe target name by replacing path separators and dots
4847 string (REPLACE "/" "_" header_target_name "${header} " )
@@ -65,19 +64,16 @@ function(cuco_add_header_tests)
6564 add_executable (${headertest_target} ${header_src} )
6665 target_link_libraries (${headertest_target} PRIVATE cuco::cuco CUDA::cudart)
6766
68- # Add required CUDA compiler flags for cuco
6967 target_compile_options (${headertest_target} PRIVATE
7068 $<$<COMPILE_LANGUAGE:CUDA>:--expt-extended-lambda>
7169 --compiler-options =-Wall --compiler-options =-Wextra
7270 --compiler-options =-Werror -Wno-deprecated-gpu-targets
7371 )
7472
75- # Add GCC-specific warning suppression only for GCC
7673 if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" )
7774 target_compile_options (${headertest_target} PRIVATE -Xcompiler -Wno-subobject-linkage)
7875 endif ()
7976
80- # Place header test binaries in a subfolder
8177 set_target_properties (${headertest_target} PROPERTIES
8278 RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR} /tests/headers"
8379 )
You can’t perform that action at this time.
0 commit comments