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 » Build a project composed by multiple shared libs
Re: Build a project composed by multiple shared libs [message #41765 is a reply to message #41762] Sat, 18 January 2014 08:15 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Max,

Would a scripting be possible workaround? You could have a main package for each of your libs, with proper target. Then you'd have a one "super main", that would include all of these packages and a macro file (something.usc). The supermain package doesn't need to be compiled, it would be just used to run the compilation of all the libs.

The macro would be quite simple, something like
macro "Build all libs" Ctrl+Alt+F5 {
    ClearConsole();
    // list of libs to build
    libs = [ "lib1", "lib2", lib3 ]
    for (p in libs) {
        // Get .upp file location for the package
        upp = PackageDir(p) + "/"+p+".upp";
        // Construct the target name
        target = "lib"+p+".so";
        // Build that package with currently set flags
        BuildProject(upp, Flags(), target);
    }
}


I know that it is not really a solution, but it could save you some time before a better way to do it is found Smile

Best regards,
Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDE debugger hangs on GuiMT example
Next Topic: CTRL-F2 crashes on UBUNTU 12.04 64-Bit
Goto Forum:
  


Current Time: Wed Apr 24 10:03:44 CEST 2024

Total time taken to generate the page: 0.01581 seconds