User forums > Using Code::Blocks

Did anyone integrate ESQL/C into codeblocks

(1/1)

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.

--- End quote ---

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.

begooden-it:
Thanks guys!

that's it! and it works! :)

Code::blocks is a great IDE!

Navigation

[0] Message Index

Go to full version