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 » Developing U++ » U++ Developers corner » Should be GUI_APP_MAIN or CONSOLE_APP_MAIN ignored in non-main package?
Re: Should be GUI_APP_MAIN or CONSOLE_APP_MAIN ignored in non-main package? [message #55659 is a reply to message #55627] Sat, 28 November 2020 18:02 Go to previous messageGo to previous message
mr_ped is currently offline  mr_ped
Messages: 826
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
It sounds useful, but I'm not sure how to implement it (in most robust way to avoid any pitfalls in the future). (but also has to be reasonable simple to figure out, as most of the time I will probably forget about it, and do the #ifdef thing manually).

Does the build system has some unique flag for the top package?

Can you imagine project with top package not containing the main, but reusing one from the dependencies? Maybe something like project for plugin for particular app, having the full app as dependency? So in such case the main is needed.

I'm not sure, if this has simple-enough and obvious-enough solution to make it worth your time. Smile

If you have particular implementation on mind already...
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: build_info.h
Next Topic: Cross Compilation: For Mac on Linux
Goto Forum:
  


Current Time: Wed May 14 17:08:03 CEST 2025

Total time taken to generate the page: 0.00758 seconds