Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Package wich will not build
Package wich will not build [message #4687] Sun, 20 August 2006 19:15 Go to next message
bitman is currently offline  bitman
Messages: 6
Registered: August 2006
Location: Ukraine
Promising Member
Hello!
How I can to create the package wich will not build?
What I mean?
I want to write the app with Qt4. For Qt words-complete I create packages based on Qt src-files. Then I add this packages in my project and word-complete is OK. But this packages will build too.
How I can to specify to some packages towards they will not build?
Sorry for English.
Thanx.
Re: Package wich will not build [message #4695 is a reply to message #4687] Sun, 20 August 2006 20:36 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
This is really interesting, we have not yet encountered this idea.

Adding "non-compilable packages" to ToDo list..

Mirek
Re: Package wich will not build [message #4696 is a reply to message #4695] Sun, 20 August 2006 20:37 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thinking about it, maybe we will just let it deffered to the moment when proper .h handling with our C++ parser is introduced (which actually means some handling of macros). The problem will be gone then without "non-compiled" packages.

Mirek
Re: Package wich will not build [message #4704 is a reply to message #4687] Sun, 20 August 2006 21:28 Go to previous messageGo to next message
bitman is currently offline  bitman
Messages: 6
Registered: August 2006
Location: Ukraine
Promising Member
Is exists any path for my ask now?
Re: Package wich will not build [message #4709 is a reply to message #4704] Sun, 20 August 2006 21:39 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
What about adding just headers? Headers do not get compiled. Then add some dummy empty .cpp file and it might work...

Mirek
Re: Package wich will not build [message #4716 is a reply to message #4687] Sun, 20 August 2006 21:56 Go to previous messageGo to next message
bitman is currently offline  bitman
Messages: 6
Registered: August 2006
Location: Ukraine
Promising Member
Now it had been tried.
Auto-complete not work if I did not add full .cpp src-file Sad .
Re: Package wich will not build [message #4720 is a reply to message #4716] Sun, 20 August 2006 22:17 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Is not it that .moc thing problem?

Mirek
Re: Package wich will not build [message #4726 is a reply to message #4687] Sun, 20 August 2006 22:28 Go to previous messageGo to next message
bitman is currently offline  bitman
Messages: 6
Registered: August 2006
Location: Ukraine
Promising Member
About MOC ("meta object compiler" - for other users):
I did understand how to work with MOC. I use flag "MOC" wich specify to call moc.exe in "Custom build steps...". All simple samples are work.
Re: Package wich will not build [message #4729 is a reply to message #4726] Sun, 20 August 2006 22:35 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Yes, but our C++ parser simply does not know about MOC keywords.

Maybe you could try to run headers through MOC.

OK, another weird idea - just rename .cpp to .h Wink

Mirek
Re: Package wich will not build [message #4734 is a reply to message #4687] Sun, 20 August 2006 23:08 Go to previous messageGo to next message
bitman is currently offline  bitman
Messages: 6
Registered: August 2006
Location: Ukraine
Promising Member
Oh, yeah! Smile Smile Smile

I did rename it to .hpp and it is OK ( Smile ).
I 'll use this method temporarily, but I crave for my first msg. OK?

Thanx.
Re: Package wich will not build [message #4735 is a reply to message #4687] Sun, 20 August 2006 23:10 Go to previous messageGo to next message
bitman is currently offline  bitman
Messages: 6
Registered: August 2006
Location: Ukraine
Promising Member
I mean your first reply too, of course.
Re: Package wich will not build [message #4742 is a reply to message #4735] Sun, 20 August 2006 23:45 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Improving our C++ parser to deal with macros will be quite complex issue. I guess you can expect it in 2007.

Mirek
Previous Topic: Creating a static library???
Next Topic: Linux Source Package: upp-src-608-dev1.tar.bz2
Goto Forum:
  


Current Time: Sat Apr 27 18:57:59 CEST 2024

Total time taken to generate the page: 0.07203 seconds