Skip to content

Commit cbf2090

Browse files
cboulaytstenner
authored andcommitted
Comment out dll-copying block for test builds.
1 parent 001b67f commit cbf2090

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

testing/CMakeLists.txt

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,18 @@ foreach(lsltest ${LSL_TESTS})
9292
add_test(NAME ${lsltest} COMMAND ${lsltest} --wait-for-keypress never)
9393
installLSLApp(${lsltest})
9494

95-
if(WIN32)
96-
# Copy dependencies into build directory to enable debugging builds in Windows.
97-
add_custom_command(TARGET ${lsltest}
98-
POST_BUILD
99-
COMMAND
100-
${CMAKE_COMMAND} -E copy_if_different
101-
$<TARGET_RUNTIME_DLLS:${lsltest}>
102-
$<TARGET_FILE_DIR:${lsltest}>
103-
COMMAND_EXPAND_LISTS
104-
)
105-
endif(WIN32)
95+
# # Uncomment me if debugging tests on Windows. Commented because it does not work well on CI runners.
96+
# if(WIN32)
97+
# # Copy dependencies into build directory to enable debugging builds in Windows.
98+
# add_custom_command(TARGET ${lsltest}
99+
# POST_BUILD
100+
# COMMAND
101+
# ${CMAKE_COMMAND} -E copy_if_different
102+
# $<TARGET_RUNTIME_DLLS:${lsltest}>
103+
# $<TARGET_FILE_DIR:${lsltest}>
104+
# COMMAND_EXPAND_LISTS
105+
# )
106+
# endif(WIN32)
106107
endforeach()
107108

108109
installLSLAuxFiles(lsl_test_exported directory lslcfgs)

0 commit comments

Comments
 (0)