Author Topic: How to use precompiler before compile  (Read 4646 times)

Offline ErwinMars

  • Single posting newcomer
  • *
  • Posts: 7
How to use precompiler before compile
« on: July 31, 2009, 09:02:05 pm »
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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7786
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline ErwinMars

  • Single posting newcomer
  • *
  • Posts: 7
Re: How to use precompiler before compile
« Reply #2 on: August 01, 2009, 09:03:02 pm »
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

Offline ErwinMars

  • Single posting newcomer
  • *
  • Posts: 7
Re: How to use precompiler before compile
« Reply #3 on: August 01, 2009, 09:20:43 pm »
Yes, it was a stupid question. In the meantime i found http://www.regular-expressions.info for that

Offline ErwinMars

  • Single posting newcomer
  • *
  • Posts: 7
Re: How to use precompiler before compile
« Reply #4 on: August 01, 2009, 09:32:39 pm »
But now, after i solved the regular expression, what does the Sub-Expression Indices mean on the Output Parsing panel.

Erwin

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252