mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-23 16:48:52 -05:00
f52a2a6406
subrepo: subdir: "OTRGui" merged: "a6066a251" upstream: origin: "https://github.com/HarbourMasters/otrgui.git" branch: "master" commit: "a6066a251" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
10 lines
444 B
CMake
10 lines
444 B
CMake
file(GLOB_RECURSE _file_list RELATIVE "${src_dir}" "${src_dir}/*")
|
|
|
|
foreach( each_file ${_file_list} )
|
|
set(destinationfile "${dst_dir}/${each_file}")
|
|
set(sourcefile "${src_dir}/${each_file}")
|
|
if(NOT EXISTS ${destinationfile} OR ${sourcefile} IS_NEWER_THAN ${destinationfile})
|
|
get_filename_component(destinationdir ${destinationfile} DIRECTORY)
|
|
file(COPY ${sourcefile} DESTINATION ${destinationdir})
|
|
endif()
|
|
endforeach(each_file) |