Author Topic: Multiple output copies  (Read 2948 times)

Offline sn4re

  • Single posting newcomer
  • *
  • Posts: 3
Multiple output copies
« on: February 28, 2008, 05:55:29 pm »
Hi,

I was wondering if there is a way to create multiple copies of the output file?
What I want to do is put one copy of the .exe inside the project folder (eg. ".\bin\Debug" - that's what I am doing now) and the other one to a folder, where I would hold the executables and libraries needed for all my programs (eg. "$(#desktop)\myProjects").

I know I can just manually copy the .exe to the other folder, but I'm wondering if there's a way to automate it?

Thanks in advance!
(btw, using Win XP and C::B svn build 4905)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Multiple output copies
« Reply #1 on: February 28, 2008, 06:59:18 pm »
You can define pre- and post-build steps in the build options of your target/project.
There you can launch for example a batchfile or just a single command.

Offline sn4re

  • Single posting newcomer
  • *
  • Posts: 3
Re: Multiple output copies
« Reply #2 on: February 28, 2008, 08:51:21 pm »
All I had to do was a simple "cmd /c copy from to" command :)
Thank you very much!