Add kicad_3dsg copy for qa_pcbnew to run out of build dir
Mirror of the pcbnew step for the same reason
(cherry picked from commit b85fb9137f
)
This commit is contained in:
parent
6fd93eaa1e
commit
f139cc2d9f
|
@ -109,4 +109,11 @@ target_link_libraries( qa_pcbnew
|
||||||
${PCBNEW_EXTRA_LIBS} # -lrt must follow Boost
|
${PCBNEW_EXTRA_LIBS} # -lrt must follow Boost
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if( WIN32 )
|
||||||
|
# Copy dynamic lib dependency to build dir to allow running directly
|
||||||
|
add_custom_command( TARGET qa_pcbnew POST_BUILD
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different "$<TARGET_FILE:kicad_3dsg>" "$<TARGET_FILE_DIR:qa_pcbnew>"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
kicad_add_boost_test( qa_pcbnew qa_pcbnew )
|
kicad_add_boost_test( qa_pcbnew qa_pcbnew )
|
||||||
|
|
Loading…
Reference in New Issue