Don't copy packaged files to build directory in non-package mode
All checks were successful
Run tests / Run tests (push) Successful in 18m39s
All checks were successful
Run tests / Run tests (push) Successful in 18m39s
This commit is contained in:
parent
fd71603e93
commit
7ed67fcd41
1 changed files with 0 additions and 12 deletions
|
|
@ -244,18 +244,6 @@ function(psemek_package_files_impl target as_resources)
|
|||
)
|
||||
endif()
|
||||
endif()
|
||||
else()
|
||||
foreach(_FILE ${ARGN})
|
||||
get_filename_component(_DIR ${_FILE} DIRECTORY)
|
||||
add_custom_command(TARGET ${target} POST_BUILD
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}"
|
||||
COMMAND "mkdir" "-pv" "${CMAKE_CURRENT_BINARY_DIR}/${_DIR}"
|
||||
)
|
||||
add_custom_command(TARGET ${target} POST_BUILD
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}"
|
||||
COMMAND "cp" "-rv" ${_FILE} "${CMAKE_CURRENT_BINARY_DIR}/${_DIR}"
|
||||
)
|
||||
endforeach()
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue