User forums > Using Code::Blocks

Copying "Other" Files to Bin

(1/2) > >>

Cinolt:
I have included in my project a file called "custom.ini". During build-time, I don't want it to be compiled, but just to be copied to the bin directory with the binary files. What is the proper way to do this in Code::Blocks?

stahta01:
I would do pre or post build step.

Tim S.

Cinolt:
Could you please provide an example of what I should enter into the pre/post build step?

stahta01:

--- Quote from: Cinolt on November 02, 2010, 08:42:59 pm ---Could you please provide an example of what I should enter into the pre/post build step?

--- End quote ---

No, read the wiki and try to figure it out.

http://wiki.codeblocks.org/index.php?title=The_build_process_of_Code::Blocks#Preprocessing_phase

Jenna:
"Project -> Build options -> [project|target] -> Pre/Post build steps"

Navigation

[0] Message Index

[#] Next page

Go to full version