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 » Community » Newbie corner » Always compiling libraries when creating new project?
Always compiling libraries when creating new project? [message #51132] Tue, 05 February 2019 16:05 Go to next message
anta40 is currently offline  anta40
Messages: 6
Registered: September 2014
Location: Jakarta, Indonesia
Promising Member
I notice that every time I create new project/package in UPP, some libraries will be compiled first.
E.g when creating console apps, UPP will always compile these packages before compiling your actual code.
Quote:

----- Core ( GUI MSC17 MSC WIN32 ) (7 / 10)
----- plugin/z ( GUI MSC17 MSC WIN32 ) (8 / 10)
----- plugin/png ( GUI MSC17 MSC WIN32 ) (9 / 10)


This is similar with creating Java projects using maven. Each time maven is invoked, first it will download required Java libs from repository.
Isn't this a time consuming process, because it has to be repeated over and over again?
Pardon my ignorance. This is mostly curiousity, not a criticism Smile
Re: Always compiling libraries when creating new project? [message #51133 is a reply to message #51132] Wed, 06 February 2019 09:32 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
anta40 wrote on Tue, 05 February 2019 16:05
I notice that every time I create new project/package in UPP, some libraries will be compiled first.
E.g when creating console apps, UPP will always compile these packages before compiling your actual code.
Quote:

----- Core ( GUI MSC17 MSC WIN32 ) (7 / 10)
----- plugin/z ( GUI MSC17 MSC WIN32 ) (8 / 10)
----- plugin/png ( GUI MSC17 MSC WIN32 ) (9 / 10)


This is similar with creating Java projects using maven. Each time maven is invoked, first it will download required Java libs from repository.
Isn't this a time consuming process, because it has to be repeated over and over again?
Pardon my ignorance. This is mostly curiousity, not a criticism Smile


It is not 'always' - these are stored based on compilation flags and some other settings - that is that set "GUI MSC17 MSC WIN32". If you start another project and this set will be the same, theide will reuse files from previous compilation.

That said, yes, in general, it is common to compile 'library' code in u++.

Mirek
Previous Topic: [Resolved] Exitcode : 3221225477
Next Topic: C2143 and other errors with any example code
Goto Forum:
  


Current Time: Thu Mar 28 14:27:21 CET 2024

Total time taken to generate the page: 0.00902 seconds