Import the external package
You can import poco 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(poco)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(poco VERSION 1.12)Components
poco-foundation
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 poco-foundation
PACKAGE poco)In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT poco-foundation
PACKAGE poco)poco-crypto
exported dependencies:
- from this external package:
- from external package openssl:
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 poco-crypto
PACKAGE poco)In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT poco-crypto
PACKAGE poco)poco-data
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 poco-data
PACKAGE poco)In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT poco-data
PACKAGE poco)poco-encodings
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 poco-encodings
PACKAGE poco)In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT poco-encodings
PACKAGE poco)poco-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 poco-json
PACKAGE poco)In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT poco-json
PACKAGE poco)poco-jwt
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 poco-jwt
PACKAGE poco)In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT poco-jwt
PACKAGE poco)poco-xml
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 poco-xml
PACKAGE poco)In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT poco-xml
PACKAGE poco)poco-utils
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 poco-utils
PACKAGE poco)In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT poco-utils
PACKAGE poco)poco-net
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 poco-net
PACKAGE poco)In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT poco-net
PACKAGE poco)poco-netssl
exported dependencies:
- from this external package:
- from external package openssl:
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 poco-netssl
PACKAGE poco)In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT poco-netssl
PACKAGE poco)poco-mongodb
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 poco-mongodb
PACKAGE poco)In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT poco-mongodb
PACKAGE poco)poco-prometheus
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 poco-prometheus
PACKAGE poco)In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT poco-prometheus
PACKAGE poco)poco-activerecord
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 poco-activerecord
PACKAGE poco)In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT poco-activerecord
PACKAGE poco)poco-redis
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 poco-redis
PACKAGE poco)In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT poco-redis
PACKAGE poco)poco-zip
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 poco-zip
PACKAGE poco)In the CMakeLists.txt files of libraries exporting the dependency :
PID_Component_Dependency(
COMPONENT your component name
EXPORT poco-zip
PACKAGE poco)