News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

How to use precompiler before compile

Started by ErwinMars, July 31, 2009, 09:02:05 PM

Previous topic - Next topic

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

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

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