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 » How to compile thrid-party packages?
Re: How to compile thrid-party packages? [message #6273 is a reply to message #6267] Sun, 05 November 2006 11:33 Go to previous messageGo to previous message
arixion is currently offline  arixion
Messages: 27
Registered: October 2006
Location: Southeast Asia
Promising Member

luzr wrote on Sun, 05 November 2006 17:08

You can consider each line in package organizer right pane as if - then.

E.g. for libraries

if(when) add_library;

Means any line with true condition is used. (And empty when is true).

I am not quite sure what you mean by intermediate targets.

E.g. for MSC builder, extensions considered are

.c .cpp .cc .cxx - C++ source files
.icpp - C++ source files that are forced to be linked into executable
.rc - windows resource files
.brc - U++'s binary resource files
.obj - object files
.lib - library files

Files with other extensions are ignored, *unless* custom build step is specfied for them that converts them to any of above formats.

With files from above set, it is pretty clean what has to happen. Internal processing (compiling them to .obj files or other intermediate formats) is considered "implementation detail".

Mirek




As in,

e.g. for libraries:

If let's say I have 2 lines saying:-

KETSJI libketsji.lib

FTGL ftgl.DLL

What will be the effect of a build method (as specified on the toolbar) which says "SUMO FTGL"? Will it include both libraries or none at all?

As for intermediate targets:-

As an interesting experiment, I was seeing if I could UPP-rize blender code. Blender doesn't compile everything together at one time. It compiles a set of projects before it compiles the main application. What its makefile and SConscript do is to compile a set of libraries/DLLs and then compile the main program and link to these DLLs and/or libraries. Is it possible to achieve all this within one UPP project, or is there anything more to do in UPP?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Reduce the EXE size
Next Topic: UPP_MAIN__ is not exported to env in linux
Goto Forum:
  


Current Time: Fri Aug 08 02:03:59 CEST 2025

Total time taken to generate the page: 0.04326 seconds