stevenshowers@homewardbou Guest
|
Posted: Wed Mar 16, 2005 1:16 pm Post subject: Porting Open Source Project from MSVC++ to Borland C++ Build |
|
|
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
|
|