We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1c5e72 commit 2cdf910Copy full SHA for 2cdf910
export/planloader/tests/CMakeLists.txt
@@ -32,3 +32,14 @@ add_custom_command(
32
message(
33
STATUS "test data will be here: ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/tests/data"
34
)
35
+
36
+# For Windows; copy planloader dll to the test executable directory so that it
37
+# can be found during test execution
38
+if(WIN32)
39
+ add_custom_command(
40
+ TARGET planloader_test
41
+ POST_BUILD
42
+ COMMAND ${CMAKE_COMMAND} -E copy
43
+ $<TARGET_FILE:planloader>
44
+ "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/tests")
45
+endif()
0 commit comments