User forums > Using Code::Blocks

How to use precompiler before compile

(1/2) > >>

ErwinMars:
I would like to use a SQL Precompiler, which should precompile my cpp program before its compiled. Can somebody point me to a sample project template. The project should
1. Precompile *.SQX and create the *.CXX file
2. Compile the *.CXX file and create the *.o file and
3. Link the *.o file to a *.exe file.

Any help is welcome.
 
Thanks in advance

Erwin

stahta01:
http://wiki.codeblocks.org/index.php?title=Adding_support_for_non_C/C%2B%2B_files_to_the_build_system

Tim S

ErwinMars:
Hi Tim,

thanks, yes that works fine. It was a little bit trial and error.

Btw. i'm a newbie in this stuff. So, may be a stupid question. Can you point me also to a page, with simple explanation of the Regular expression, so that i can also catch the messages from the precompiler.

Erwin

ErwinMars:
Yes, it was a stupid question. In the meantime i found http://www.regular-expressions.info for that

ErwinMars:
But now, after i solved the regular expression, what does the Sub-Expression Indices mean on the Output Parsing panel.

Erwin

Navigation

[0] Message Index

[#] Next page

Go to full version