BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Porting Open Source Project from MSVC++ to Borland C++ Build

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
stevenshowers@homewardbou
Guest





PostPosted: Wed Mar 16, 2005 1:16 pm    Post subject: Porting Open Source Project from MSVC++ to Borland C++ Build Reply with quote



I am trying to port a large open source project which has been
configured for building within Microsoft Visual C++ 6.0 to Borland C++
Builder 5 (standard).

(the source code for everything, the main executable and all libraries,
is pure C++ or C, using none of the Microsoft proprietary libraries)

I am beginning with a project group, and defining the main executable
as the first project in the group.

The main executable relies on several libraries, which in
turn will be additional projects in the group.

Adding source files, include paths, and library paths to the main
executable project is straightforward. But when it comes to adding the
names of the libraries on which the main executable relies, the IDE
does not appear to support this, in as much as the "add to project"
will only allow you to point to an existing library. (At this point,
the other libraries do not exist.)

I assume the answer to this is to add the library names by hand to the
..bpr file. My question is, where is the proper place to add these
library names? It looks like there are four possibilities as follows:


<MACROS>
....
<LIBFILES value=""/>
<LIBRARIES value=""/>
<SPARELIBS value=""/>
....
</MACROS>

....

<LINKER>
...
<ALLLIB value="$(LIBFILES) $(LIBRARIES) import32.lib ... "/>
</LINKER>

Could someone please let me know which is the proper place to put the
names of the libraries that this project will have to link to?

Thanks,
Steven S. Showers

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.