Skip to content

Commit 67c66a3

Browse files
committed
Comment cleanups
1 parent c561327 commit 67c66a3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmake/header_testing.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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
)

0 commit comments

Comments
 (0)