<div dir="ltr"><div>Hi,</div><div><br></div><div>In a project, I need to first duplicate a source file and rename it. For example, I want to change "file.c" to "aaa_file.c", and after compiling, I will delete it. This is similar to using "cp file.c aaa_file.c". How to easily do this in CMake? I found "file" command doesn't work well for this.</div><div><br></div><div>Thank you very much.</div><div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font size="1" face="arial,helvetica,sans-serif" color="#000000">..............................................................................................................................................</font></div><font face="tahoma,sans-serif" color="#3366ff"><div><font style="background-color:rgb(255,255,255)" face="arial black,sans-serif" color="#000000">Ke Gao</font></div></font></div></div></div></div></div></div></div></div>