News:

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

Main Menu

Did anyone integrate ESQL/C into codeblocks

Started by begooden-it, May 09, 2012, 02:15:16 PM

Previous topic - Next topic

begooden-it

Hi community,

please forgive my newbieness on code::blocks, but the product is really cool. I would like to use it as
my IDE for Informix ESQL/C ( which is C/C++ with embedded SQL ).

It sound relatively easy to create new syntax highlight for those esql/c files, which have .ec as extension. ( add a new .xml file called lexer_esqlc.xml with
relevant contents).

I would like to push the integration a bit further and be able to compile and debug from the IDE ( which is what is expected from an IDE btw)

As anyone already done this?

To compile an esql/c program, you will use the '"esql" command that proprocesses the source files then compiles/links them using the regular
c or c++ compiler.

To debug an esql/c program, you will use the regular c/cc+ debugger.

I think this is possible to integrate all this in code::blocks, but not sure about how to proceed.

Any ideas for this?

Thanks
E.

Freem

I think you could use pre and post build steps, in project's properties => build options if I remember correctly.

stahta01

Quote from: Freem on May 10, 2012, 11:14:35 PM
I think you could use pre and post build steps, in project's properties => build options if I remember correctly.

That is one way.

This is another way.
http://wiki.codeblocks.org/index.php?title=Adding_support_for_non_C/C%2B%2B_files_to_the_build_system

Tim S.
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]

begooden-it

Thanks guys!

that's it! and it works! :)

Code::blocks is a great IDE!