This PR simplifies running examples on Windows, because the DLL must reside either in the same folder where the executable is or somewhere in PATH.
It is an alternative to #1233.
Rebased and undrafted.
Concept ACK
17 | + $<$<PLATFORM_ID:Windows>:bcrypt> 18 | + ) 19 | + set(test_name ${name}_example) 20 | + add_test(NAME ${test_name} COMMAND ${target_name}) 21 | + if(BUILD_SHARED_LIBS AND MSVC) 22 | + # The DLL must resides either in the same folder where the executable is
# The DLL must reside either in the same folder where the executable is
utACK mod nit
This change aims to simplify the following commit.
This change simplifies running examples on Windows, because the DLL
must reside either in the same folder where the executable is or
somewhere in PATH.
utACK 175db31149fff4b3dc3d3dab021f289d7e98381c
@theuni Would you like to review this?
Merging, but happy to see any post-merge review.