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: Other Features Wishlist and/or Bugs » [SOLVED] Skipping package building/linking when certain configuration is on
[SOLVED] Skipping package building/linking when certain configuration is on [message #54736] Fri, 04 September 2020 22:07 Go to next message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

I would like to ask - is there any option to skip package building/linking when special flag is set. In my case I would like to have plugin/gtest attached to my main package, but when certain main package configuration is present I would like to skip compilation and do not link with this package. I would like only build it when flagTEST is set as main configuration.

Thanks to that I should be able to store my unit tests in the main package, which is nice for productivity. Go lang is using similar approach with it's _test sufix.

Optionally license files should take into consideration this option.

Klugier


U++ - one framework to rule them all.

[Updated on: Sat, 05 September 2020 17:18]

Report message to a moderator

Re: Skipping package building/linking when certain configuration is on [message #54745 is a reply to message #54736] Sat, 05 September 2020 17:10 Go to previous messageGo to next message
omari is currently offline  omari
Messages: 264
Registered: March 2010
Experienced Member
Hi Klugier,

using package organizer, you can add package when a flag is defined.

here an example :

index.php?t=getfile&id=6185&private=0

in this example, the package PdfDraw does not build nor link on Windows.


regards
omari.
Re: Skipping package building/linking when certain configuration is on [message #54746 is a reply to message #54745] Sat, 05 September 2020 17:17 Go to previous message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello Omari,

Make sense - thank you!

Klugier


U++ - one framework to rule them all.
Previous Topic: Application crashes and OS instability can overwrite the currently edited file with junk
Next Topic: Full Screen button bug
Goto Forum:
  


Current Time: Fri Apr 19 04:23:31 CEST 2024

Total time taken to generate the page: 0.04375 seconds