[CMake] problems with FindBoost
Dominik Szczerba
dominik at itis.ethz.ch
Fri Apr 1 01:23:20 EDT 2011
Many thanks for your responses so far.
I built boost as follows:
bjam --prefix=P:\boost-1.46.1\x64 toolset=msvc-10.0 address-model=64
link=shared threading=multi runtime-link=shared --with-thread
--with-date_time --with-program_options --with-filesystem
--with-system debug release install
The lib folder contains files like:
-rwxr--r-- 1 dsz dsz 54784 2011-03-31 15:42 boost_thread-vc100-mt-1_46_1.dll
-rwxr--r-- 1 dsz dsz 17092 2011-03-31 15:42 boost_thread-vc100-mt-1_46_1.lib
-rwxr--r-- 1 dsz dsz 88576 2011-03-31 15:41 boost_thread-vc100-mt-gd-1_46_1.dll
-rwxr--r-- 1 dsz dsz 17252 2011-03-31 15:41 boost_thread-vc100-mt-gd-1_46_1.lib
-rwxr--r-- 1 dsz dsz 17252 2011-03-31 15:41 boost_thread-vc100-mt-gd.lib
-rwxr--r-- 1 dsz dsz 17092 2011-03-31 15:42 boost_thread-vc100-mt.lib
If the lib was built as static (remove bjam flags link=shared
threading=multi runtime-link=shared) it contains files like:
-rwxr--r-- 1 dsz dsz 594434 2011-03-31 12:16
libboost_thread-vc100-mt-1_46_1.lib
-rwxr--r-- 1 dsz dsz 1421060 2011-03-31 12:15
libboost_thread-vc100-mt-gd-1_46_1.lib
-rwxr--r-- 1 dsz dsz 1421060 2011-03-31 12:15 libboost_thread-vc100-mt-gd.lib
-rwxr--r-- 1 dsz dsz 594434 2011-03-31 12:16 libboost_thread-vc100-mt.lib
I will now proceed debugging the suggested cmake file.
Thanks,
Dominik
More information about the CMake
mailing list