So my problem is: I have a C ++ project in CDT 6.0 on Eclipse 3.5, and now I have a static resource file (.properties for log4cxx) that needs to be copied to the build folder. This file is available at run time to configure the log4cxx subsystem, and it must be available in the same directory as the executable. For example, the Debug / folder should have Debug / Executable and Debug / config.properties in it.
I would like CDT to automatically copy the file from my src directory (or resource) to the bin directory at build time. Is there a way to do this without creating a custom landing page? I am using the Eclipse managed project project (or whatever the default for the C ++ executable is currently) if this changes the way things are set up.
source
share