C/C++ Eclipse [message #1043239] |
Wed, 17 April 2013 09:07  |
Eclipse User |
|
|
|
Hi,
I would like run 2 compilations for example, one called "myCompilation1" and the second "myCompilation2" in one click. And according to the current configuration,the right "myHeaderX.h" is defined in my header file (myConfig.h).
myConfig.h file
---------------
#if myCompilation1
#include "myHeader1.h"
#endif
#if myCompilation2
#include "myHeader2.h"
#endif
And after each compilation, I would like to move the output file to a dedicated directory.
if myCompilation1 then move output to c:/myDir1
if myCompilation2 then move output to c:/myDir2
Thanks for your help.
Pat
|
|
|
|
|
Re: C/C++ Eclipse [message #1050569 is a reply to message #1043897] |
Sat, 27 April 2013 07:34  |
Eclipse User |
|
|
|
Patrice Cavin wrote on Thu, 18 April 2013 10:36Hi Axel,
The post build command is a good idea, thanks. Do you have commands examples ? What do you recommend to copy the files (batch file,...) ?
Best regards,
Pat
You can use the xcopy command.
|
|
|
Powered by
FUDForum. Page generated in 0.65774 seconds