Boost logo

Boost Interest :

From: Niels Dekker - mail address until 2008-12-31 (nd_mail_address_valid_until_2008-12-31_at_[hidden])
Date: 2008-05-20 11:54:29


troy d. straszheim wrote:
> The URL is:
> http://svn.boost.org/svn/boost/branches/CMake/Boost_1_35_0
...
> Maybe somebody wants to give windows a go.

Both me and a collegue of mine just did, on Win XP + MSVC 2008. Most of
it seems to work fine, but there's a problem with the library file
names: It creates lib files like "boost_python--mt-gd-1_35.lib".
Somehow it does not encode the compiler version ("vc90") into the lib
file names! How (or where, in CMakeList.txt) are those lib file names
constructed? Do they depend on CPACK_PACKAGE_FILE_NAME?

Boost_1_35_0/CMakeLists.txt says:

elseif (MSVC71)
  set(CPACK_PACKAGE_FILE_NAME "Boost-${BOOST_VERSION}-vc71")
elseif (MSVC80)
  set(CPACK_PACKAGE_FILE_NAME "Boost-${BOOST_VERSION}-vc8")
elseif (MSVC90)
  set(CPACK_PACKAGE_FILE_NAME "Boost-${BOOST_VERSION}-vc9")

Which /seems/ incorrect, because the Microsoft compiler version should
be encoded by four letters ("vc90"), according to
boost/config/auto_link.hpp. But if I change "vc9" to "vc90" in my local
version of Boost_1_35_0/CMakeLists.txt, it still doesn't do the lib file
names correctly.

Interestingly, Boost_1_35_0/Cmake /does/ work properly on MSVC71!

Do you have a clue?

Kind regards,

Niels


Boost-cmake list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk