Skip to content

Commit

Permalink
refactor: reduce cmake verbosity (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
demo-exe authored Mar 5, 2024
1 parent ddf090d commit adee5e3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,16 +186,12 @@ file(MAKE_DIRECTORY ${DEST_DIR}/upf)
# Copy header files
foreach(FILE ${UPF_PLUGIN_HEADER_FILES})
# Get the path of the file relative to the source directory
# file(RELATIVE_PATH RELATIVE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/upf" "${FILE}")
get_filename_component(DIR "${FILE}" DIRECTORY)
message(STATUS "DIR: ${DIR}")

# Make sure the destination directory exists
file(MAKE_DIRECTORY "${DEST_DIR}/${DIR}")
message(STATUS "Copying ${FILE} to ${DEST_DIR}/${DIR}")

configure_file("${FILE}" "${DEST_DIR}/${DIR}" COPYONLY)
message(STATUS "configure file ${FILE} ${DEST_DIR}/${DIR}")
endforeach()

set(VPP_INSTALL_PLUGIN ${UPF_INSTALL_PREFIX}/vpp_plugins)
Expand Down

0 comments on commit adee5e3

Please sign in to comment.