Commit Graph

222 Commits

Author SHA1 Message Date
Peter Dimov
672db3ceb3 Issue verbose message when a library has no variants at all 2020-01-09 03:46:50 +02:00
Peter Dimov
671e801b47 Issue a debug message when setting Boost_PYTHON_VERSION 2020-01-08 15:49:37 +02:00
Peter Dimov
b2aac6a1d5 When a matching library with a Python version is found and Boost_PYTHON_VERSION is not set, set it to the found version 2020-01-08 02:37:36 +02:00
Peter Dimov
dc74303101 Mark library as not found when it has no variants at all 2020-01-07 21:17:53 +02:00
Peter Dimov
aca9dc727b Add tests for ALL to Travis 2020-01-07 18:51:24 +02:00
Peter Dimov
c8c544545d Add support for USE_ALL_COMPONENTS to test/filesystem, test/log 2020-01-07 18:44:32 +02:00
Peter Dimov
4ecba347b2 Tweak handling of ALL 2020-01-07 18:43:54 +02:00
Peter Dimov
c70bff7039 Merge branch 'fix-issue16' of https://github.com/Bagira80/boost_install into feature/all-components 2020-01-07 16:53:04 +02:00
Peter Dimov
728a42aafe Change python-specific stage/install subdirectory as intended by the previous PR 2020-01-07 15:38:32 +02:00
Peter Dimov
62229ef156 Revert "Use consistent naming scheme for python subdir in LIBDIR"
This reverts commit 4a7a15efe4.
2020-01-07 15:29:52 +02:00
Peter Dimov
fe1708e75a Merge pull request #25 from SoapGentoo/python-consistent-naming
Use consistent naming scheme for python subdir in LIBDIR
2019-12-23 06:22:52 -08:00
David Seifert
4a7a15efe4 Use consistent naming scheme for python subdir in LIBDIR 2019-12-23 11:04:18 +01:00
Peter Dimov
65b4010498 Remove unnecessary comment 2019-12-22 14:49:43 -08:00
Peter Dimov
2be81de439 Install/stage libraries not prefixed by boost_ (f.ex. Python extensions) to a subdirectory of libdir 2019-12-22 14:38:21 -08:00
Peter Dimov
e497946385 Merge pull request #24 from david-sinuela-pix4d/appendCompileDefinitions
Use set_property(... APPEND ...) to avoid overriding INTERFACE_COMPILE_DEFINITIONS
2019-12-13 06:49:20 -08:00
David Siñuela Pastor
8719448594 Use set_property(... APPEND ...) to avoid overriding INTERFACE_COMPILE_DEFINITIONS 2019-12-12 10:03:06 +01:00
Peter Dimov
8ca34abf2c Update BOOST_VERSION 2019-12-11 23:18:17 +02:00
Deniz Bahadir
4a24a713bd Add (meta-)component "ALL" for searching all (available) components.
* This new meta-component instructs BoostConfig.cmake to parse its
  parent-directory for installed Boost components and will provide
  imported targets for them as if they were listed as components in the
  call to `find_package`.
* If this new component is used it has to be the only component
  provided to the `find_package` call.
* If another component is provided together with the "ALL" component a
  non-fatal error will be triggered (with a hint for how to fix that
  error) but the script will continue looking for all components,
  ignoring that additional component.
  However, as typical for non-fatal errors CMake configuration will
  still fail in the end.
* If BoostConfig.cmake was triggered by FindBoost.cmake with that
  meta-component it will continue to work as if `find_package` was
  called in config mode, but FindBoost.cmake might print a warning if
  either `Boost_DEBUG` or `Boost_VERBOSE` was set.
2019-11-05 17:23:03 +01:00
Peter Dimov
c1e6a010f7 Build MPI in C++11 mode, because it fails otherwise boost-1.72.0.beta1 boost-1.72.0 2019-10-26 15:41:02 +03:00
Peter Dimov
b8c1e9e958 Use the pre-3.9 variable names 2019-10-26 02:09:50 +03:00
Peter Dimov
da63bb2a52 Handle the pre-3.10 case when FindMPI doesn't define targets 2019-10-26 02:02:03 +03:00
Peter Dimov
7ed6b03256 Change MPI target to MPI::MPI_CXX 2019-10-26 01:34:53 +03:00
Peter Dimov
95845ae28b Add test/mpi 2019-10-26 01:17:13 +03:00
Peter Dimov
63c74f6456 Make boost_mpi link to MPI::MPI_C (refs #17) 2019-10-25 18:30:51 +03:00
Peter Dimov
276a5b42f1 Load Jamfile via a normalized path 2019-10-25 06:03:22 +03:00
Peter Dimov
05d9be3dd2 Do not generate CMake config files for libraries not prefixed by 'boost_'. Refs #15. 2019-10-24 21:43:55 +03:00
Peter Dimov
892221a751 If the computed and the original directory are symlink-equivalent, use original. Refs #14. 2019-10-24 18:07:18 +03:00
Peter Dimov
a563ec0707 Take --stagedir into account when staging CMake configs 2019-10-24 03:23:51 +03:00
Peter Dimov
5128ed7afe Add STAGE=1 tests to Travis 2019-10-24 01:54:28 +03:00
Peter Dimov
29ee37556a Do not b2 --with-headers when staging 2019-10-24 01:44:10 +03:00
Peter Dimov
5c869b58b7 Add Iostreams test with STAGE=1; remove Python test with UBP=1 because CMake 3.15.1's FindBoost errors on versioned Python components 2019-10-24 01:40:34 +03:00
Peter Dimov
f96bb38c2e Add stage tests to Appveyor; switch Python test to 2019 image 2019-10-23 23:48:33 +03:00
Peter Dimov
f6d3c4177c Update test CMakeLists files to support USE_STAGED_BOOST and Boost_ROOT 2019-10-23 20:54:17 +03:00
Peter Dimov
963b551c20 Generate CMake config files when staging 2019-10-23 06:37:43 +03:00
Peter Dimov
b509998fb6 Document Boost_USE_MULTITHREADED 2019-09-20 17:13:23 +03:00
Peter Dimov
814a5ac218 Add support for Boost_USE_MULTITHREADED (refs #13) 2019-09-20 16:07:44 +03:00
Peter Dimov
8cd23dc0d6 One more Travis test, with Boost_USE_MULTITHREADED=off 2019-09-20 16:03:35 +03:00
Peter Dimov
c46823d642 Add Travis test for threading=multi,single (refs #13) 2019-09-20 15:22:36 +03:00
Peter Dimov
31737036f6 Update Boost version 2019-08-29 00:05:48 +03:00
Peter Dimov
711dae2a3a Unset _BOOST_*DIR variables for INTERFACE libraries boost-1.71.0.beta1 boost-1.71.0 2019-06-12 20:19:42 +03:00
Peter Dimov
a105063c02 Add mpi_python to versioned components; closes #11 2019-06-12 20:14:26 +03:00
Peter Dimov
dcd92dc506 set Boost_LIBRARIES to '' instead of unsetting it 2019-06-07 17:58:26 +03:00
Peter Dimov
daa6552eae Add versioned targets (Boost::python27) for compatibility 2019-06-06 19:20:44 +03:00
Peter Dimov
56e203e248 Set _FOUND variables properly for versioned components 2019-06-06 01:51:43 +03:00
Peter Dimov
a133663b6a Add UBP=1 test for Python on Appveyor 2019-06-05 20:27:38 +03:00
Peter Dimov
367e177c1a Add support for versioned python/numpy components 2019-06-05 19:12:36 +03:00
Peter Dimov
3ff78a0ed3 Mark boost_lib_DIR as advanced 2019-05-27 04:16:08 +03:00
Peter Dimov
c010d47392 Add compatibility version variables 2019-05-25 03:29:49 +03:00
Peter Dimov
f24f820815 Also accept Boost_COMPILER=-toolset for compatibility with FindBoost 2019-05-24 01:04:00 +03:00
Peter Dimov
9967d60ec1 Fix Boost_COMPILER handling 2019-05-24 00:52:49 +03:00