![]() ![]() Users or projects may tell this module which variant to find by Other Variables ¶īoost libraries come in many variants encoded in their file name. Values of the targets created by the first call. Than variables created by this module: multiple calls toįind_package(Boost) in the same directory or sub-directories withĭifferent options (e.g. It is important to note that the imported targets behave differently If usingīoost::thread, then Threads::Threads will also be added automatically. If system is not specified when using find_package() and ifīoost::system is not added to target_link_libraries(). Implicit dependencies such as Boost::filesystem requiringīoost::system will be automatically detected and satisfied, even Interface target to enable dynamic linking with MSVC Interface target to disable automatic linking with MSVC Linking during compilation (adds -DBOOST_LIB_DIAGNOSTIC). Interface target to enable diagnostic information about Boost's automatic Target for specific component dependency (shared or static library) New in version 3.15: Alias for Boost::boost. Search results affected by the changes and searches again. Tree (excluding environment variables) this module discards previous When one changes settings used by previous searches in the same build Locations in Boost_LIBRARY_DEBUG and Boost_LIBRARY_RELEASE. Library directories in Boost_LIBRARY_DIR_DEBUG andīoost_LIBRARY_DIR_RELEASE and individual library Using the above hints (excluding BOOST_INCLUDEDIR andīoost_ADDITIONAL_VERSIONS), "lib" directories near Boost_INCLUDE_DIR,Īnd the library name configuration settings below. Then it searches for requested component libraries Hint variables (excluding BOOST_LIBRARYDIR) and saves the result inīoost_INCLUDE_DIR. This module first searches for the Boost header files using the above Not specified as CMake variables or cache entries. One may specify these as environment variables if they are ![]() Note that some hint names start in upper-caseīOOST. Should not read these entries directly but instead use the above Users may set these hints or results as CACHE entries. (Boost install locations may contain the version). List of Boost versions not known to this module. Set to ON to disable searching in locations not This module reads hints about search locations from variables: BOOST_ROOT, BOOSTROOT New in version 3.3: Per-configuration variables Boost_LIBRARY_DIR_RELEASE and ![]()
0 Comments
Leave a Reply. |