Author Topic: Did anyone integrate ESQL/C into codeblocks  (Read 5447 times)

Offline begooden-it

  • Single posting newcomer
  • *
  • Posts: 2
Did anyone integrate ESQL/C into codeblocks
« on: May 09, 2012, 02:15:16 pm »
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.

Offline Freem

  • Almost regular
  • **
  • Posts: 218
Re: Did anyone integrate ESQL/C into codeblocks
« Reply #1 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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7786
    • My Best Post
Re: Did anyone integrate ESQL/C into codeblocks
« Reply #2 on: May 10, 2012, 11:52:12 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++ 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 begooden-it

  • Single posting newcomer
  • *
  • Posts: 2
Re: Did anyone integrate ESQL/C into codeblocks
« Reply #3 on: May 11, 2012, 09:45:37 am »
Thanks guys!

that's it! and it works! :)

Code::blocks is a great IDE!