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 » multiple targets in one project
multiple targets in one project [message #6740] Sat, 25 November 2006 23:24 Go to next message
exolon is currently offline  exolon
Messages: 62
Registered: July 2006
Location: 53'21N 6'18W
Member
Hi guys,

it seems impossible to have one package with multiple build targets - in my case, I want to have a package containing unit tests for the classes of another package (or even part of the same package, but not automatically built into the package's main executable?), and be able to selectively build each different test file into its own executable, rather than rebuilding the entire test suite every time.

So far, it seems that I can't do it with theide as it is, and either have to build all the tests together into one (possibly huge) test suite, which could of course be very slow, or to create the tests using theide for syntax completion etc, but build the tests on the commandline.

Does anyone know any better solutions to this problem?

Oisín
Re: multiple targets in one project [message #6743 is a reply to message #6740] Sun, 26 November 2006 01:23 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Use umk. Build "superpackage" that will compile and run all tests.

See uppsrc/BuildAll.

Mirek
Re: multiple targets in one project [message #6746 is a reply to message #6743] Sun, 26 November 2006 02:35 Go to previous messageGo to next message
exolon is currently offline  exolon
Messages: 62
Registered: July 2006
Location: 53'21N 6'18W
Member
That sounds handy. Will this work in linux by passing the required arguments to theide?

Thanks for the tip!
Re: multiple targets in one project [message #6750 is a reply to message #6746] Sun, 26 November 2006 07:39 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Yes, in Linux, umk == theide. Actually, the whole purpose of umk is to provide console interface to theide (Win32 issue).
Previous Topic: what is "paralellization 100%" ?
Next Topic: Can't understand strange punctuation
Goto Forum:
  


Current Time: Thu Apr 25 01:26:31 CEST 2024

Total time taken to generate the page: 0.03986 seconds