Import the external package
You can import boost as usual with PID. In the root CMakelists.txt file of your package, after the package declaration you have to write something like:
PID_Dependency(boost)
It will try to install last version of this external package.
If you want a specific version (recommended), for instance the currently last released version:
PID_Dependency(boost VERSION 1.81)
Components
boost-headers
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-headers
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-headers
PACKAGE boost)
boost-atomic
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-atomic
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-atomic
PACKAGE boost)
boost-system
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-system
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-system
PACKAGE boost)
boost-serialization
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-serialization
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-serialization
PACKAGE boost)
boost-wserialization
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-wserialization
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-wserialization
PACKAGE boost)
boost-serialize
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-serialize
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-serialize
PACKAGE boost)
boost-regex
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-regex
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-regex
PACKAGE boost)
boost-random
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-random
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-random
PACKAGE boost)
boost-options
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-options
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-options
PACKAGE boost)
boost-exec
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-exec
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-exec
PACKAGE boost)
boost-context
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-context
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-context
PACKAGE boost)
boost-date
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-date
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-date
PACKAGE boost)
boost-date_time
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-date_time
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-date_time
PACKAGE boost)
boost-math
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-math
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-math
PACKAGE boost)
boost-utest
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-utest
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-utest
PACKAGE boost)
boost-filesystem
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-filesystem
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-filesystem
PACKAGE boost)
boost-chrono
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-chrono
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-chrono
PACKAGE boost)
boost-thread
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-thread
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-thread
PACKAGE boost)
boost-locale
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-locale
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-locale
PACKAGE boost)
boost-timer
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-timer
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-timer
PACKAGE boost)
boost-graph
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-graph
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-graph
PACKAGE boost)
boost-coroutine
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-coroutine
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-coroutine
PACKAGE boost)
boost-wave
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-wave
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-wave
PACKAGE boost)
boost-log
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-log
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-log
PACKAGE boost)
boost-container
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-container
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-container
PACKAGE boost)
boost-type-erasure
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-type-erasure
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-type-erasure
PACKAGE boost)
boost-iostreams
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-iostreams
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-iostreams
PACKAGE boost)
boost-fiber
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-fiber
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-fiber
PACKAGE boost)
boost-stacktrace
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-stacktrace
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-stacktrace
PACKAGE boost)
boost-contract
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-contract
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-contract
PACKAGE boost)
boost-nowide
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-nowide
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-nowide
PACKAGE boost)
boost-json
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-json
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-json
PACKAGE boost)
boost-python
exported dependencies:
- from this external package:
CMake usage :
In the CMakeLists.txt files of your applications and tests, or those of your libraries that do not export the dependency:
PID_Component_Dependency(
COMPONENT your component name
DEPEND boost-python
PACKAGE boost)
In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT boost-python
PACKAGE boost)