mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 18:23:15 +02:00
Fix a incorrect filename in a copy command (MSW specific).
Also fix a regression and respect the KICAD_BUILD_QA_TESTS build option.
This commit is contained in:
parent
1831ae6fa4
commit
f14ef477cc
@ -1028,7 +1028,10 @@ add_subdirectory( cvpcb ) # must be after pcbnew
|
|||||||
add_subdirectory( kicad ) # should follow pcbnew, eeschema
|
add_subdirectory( kicad ) # should follow pcbnew, eeschema
|
||||||
add_subdirectory( tools )
|
add_subdirectory( tools )
|
||||||
add_subdirectory( utils )
|
add_subdirectory( utils )
|
||||||
add_subdirectory( qa )
|
|
||||||
|
if( KICAD_BUILD_QA_TESTS )
|
||||||
|
add_subdirectory( qa )
|
||||||
|
endif()
|
||||||
|
|
||||||
# Demos
|
# Demos
|
||||||
if( KICAD_INSTALL_DEMOS )
|
if( KICAD_INSTALL_DEMOS )
|
||||||
|
@ -845,7 +845,7 @@ else()
|
|||||||
# For phase 1, copy _pcbnew.kiface to the python module.
|
# For phase 1, copy _pcbnew.kiface to the python module.
|
||||||
add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/_pcbnew.${PYMOD_EXT}
|
add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/_pcbnew.${PYMOD_EXT}
|
||||||
DEPENDS pcbnew_kiface
|
DEPENDS pcbnew_kiface
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy _pcbnew.kiface _pcbnew.${PYMOD_EXT}
|
COMMAND ${CMAKE_COMMAND} -E copy _pcbnew${KIFACE_SUFFIX} _pcbnew.${PYMOD_EXT}
|
||||||
COMMENT "Creating python's pcbnew native module _pcbnew.${PYMOD_EXT} for command line use."
|
COMMENT "Creating python's pcbnew native module _pcbnew.${PYMOD_EXT} for command line use."
|
||||||
)
|
)
|
||||||
add_custom_target(
|
add_custom_target(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user