Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - Specifying libraries and libary paths using IDE
I want to link a library that I've built into and executable. The only way I've found to specify a library to link is throught the Edit Project dialog, which forces me to explicitly choose which library to link. The problem is, I want to link a debug library into a debug executable, and a release library into a release executable. There MUST be a way of specifying a library name and different library paths for debug and release. Can anyone offer some help? Dec 04 2002
In article <aslk45$2id$1 digitaldaemon.com>, Adrian Cole says...I want to link a library that I've built into and executable. The only way I've found to specify a library to link is throught the Edit Project dialog, which forces me to explicitly choose which library to link. The problem is, I want to link a debug library into a debug executable, and a release library into a release executable. There MUST be a way of specifying a library name and different library paths for debug and release. Can anyone offer some help? Dec 04 2002
Using the IDDE: - right click the project - click 'settings' - click tab 'directories' - in the editcontrol 'Library Directories' you put a ; separated list with the directory path's (absolute or relative' to the lib locations. - right click the project - click 'edit project' - in combobox 'List files of type' selects "Library (*.lib)" - in the editcontrol 'filename' the only the name of the lib you want to link. Now you are able to make distinction between release and debug libs by lib-directory path's. Good luck Arjan Knepper Adrian Cole wrote:I want to link a library that I've built into and executable. The only way I've found to specify a library to link is throught the Edit Project dialog, which forces me to explicitly choose which library to link. The problem is, I want to link a debug library into a debug executable, and a release library into a release executable. There MUST be a way of specifying a library name and different library paths for debug and release. Can anyone offer some help? Dec 04 2002
Thanks! That did it. <user domain.invalid> wrote in message news:asllvv$4ik$1 digitaldaemon.com...Using the IDDE: - right click the project - click 'settings' - click tab 'directories' - in the editcontrol 'Library Directories' you put a ; separated list with the directory path's (absolute or relative' to the lib locations. - right click the project - click 'edit project' - in combobox 'List files of type' selects "Library (*.lib)" - in the editcontrol 'filename' the only the name of the lib you want to link. Now you are able to make distinction between release and debug libs by lib-directory path's. Good luck Arjan Knepper Adrian Cole wrote:I want to link a library that I've built into and executable. The only Dec 04 2002
|