User forums > Using Code::Blocks
How to tell the build system to run a pre-compile step?
(1/1)
hanshuckebein:
A file test.crb should be processed by a ruby script to generate test.c. After this step, test.c should be compiled.
How to tell the build system to use the ruby script to process a *.crb file?
BlueHazzard:
what operating system are you using?
How do you call the ruby script?
Some things to read:
http://wiki.codeblocks.org/index.php/The_build_process_of_Code::Blocks
http://wiki.codeblocks.org/index.php/Variable_expansion
hanshuckebein:
Linux. The script is a shebang script started by its name from a shell.
oBFusCATed:
You can look at this page: http://wiki.codeblocks.org/index.php/Adding_support_for_non_C/C%2B%2B_files_to_the_build_system
hanshuckebein:
Very interesting and solves my problem. Thanks.
Navigation
[0] Message Index
Go to full version