Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: hanshuckebein on January 09, 2017, 11:47:58 pm
-
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?
-
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
-
Linux. The script is a shebang script started by its name from a shell.
-
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
-
Very interesting and solves my problem. Thanks.