Author Topic: Using PRO*C/C++ through Codeblocks  (Read 8290 times)

Mr C

  • Guest
Using PRO*C/C++ through Codeblocks
« on: June 10, 2010, 02:33:00 am »
Is there a way to use PRO*C/C++ through codeblocks?

At the moment, I have to use Oracle's precompiler, which basically means I have my non-database code open in Codeblocks, by DB code open in another Editor, and a PRO C/C++ window open.

This is a tad clumsy, and I figure there must be a way I could set up Codeblocks to do the PRO C/C++ precompile (but am unsure how I would go about doing it).

As I say, the problem isn't a show stopper by any means, but it would be a lot easier to code and build everything together.
Any thoughts much appreciated.


Offline ZooLoo

  • Single posting newcomer
  • *
  • Posts: 8
Re: Using PRO*C/C++ through Codeblocks
« Reply #1 on: April 27, 2011, 05:00:49 pm »
There are so many replies...

I wander if it's possible to create something like oracle->codeblocs Pro*C plug-in(tool).
But there is example of external build tools around Qt moc files... looks the same way of doing things.
Here is always place for Ы.

Online stahta01

  • Lives here!
  • ****
  • Posts: 7787
    • 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 oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Using PRO*C/C++ through Codeblocks
« Reply #3 on: April 27, 2011, 07:30:27 pm »
There is the possibility to add custom compiler.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline ZooLoo

  • Single posting newcomer
  • *
  • Posts: 8
Re: Using PRO*C/C++ through Codeblocks
« Reply #4 on: April 28, 2011, 09:30:10 am »
No idea if this link applies

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

Tim S.

Really nice feature... As I can see its applied to file extension hmm really nice...
And does it mean that $includes macro (and possibly other interesting macro) will take corresponding value from current (opened) project settings? I mean the case when we have possibility to add some config file to external (non C/C++) compiler. And for example that config is related to the current projects settings (Debug/Release).
« Last Edit: April 28, 2011, 10:31:41 am by ZooLoo »
Here is always place for Ы.