Switching toolchain and getting the right Boost link library

  • From: "pabristow" < >
  • To:
  • Subject: Switching toolchain and getting the right Boost link library
  • Date: Fri, 02 Nov 2012 06:20:54 -0400

I want to check that I can build'n'run console applications using more than 
one toolchain (cygwin, mingw, versions 4.6 4.7..., clang ...).

Using the Project Properties, Build, Tool Collection, I can switch tool 
chain, but if using a Boost library like Boost.regex, Boost.System, 
boost.Timedate ... the library dll file name (and contents because compiled 
with the appropriate tools) changes for each toolchain.

For example, the appropriate library file might change from

boost_unit_test_framework-mgw46-mt-1_52.dll

boost_unit_test_framework-mgw47-mt-1_52.dll

So I have to change this filename 'by hand' each time I change the toolchain.

Has anyone found a good solution to this problem?

Perhaps I am missing something obvious? (again :-( )

Thanks.  Paul






Switching toolchain and getting the right Boost link library

pabristow 11/02/2012

Re: Switching toolchain and getting the right Boost link library

Paulo R. Panhoto 11/04/2012

Switching toolchain and getting the right Boost link library

pabristow 11/07/2012

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 131 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close