poco

The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.

Latest version: 1.13.3

Add to xmake.lua

add_requires("poco 1.13.3")

Learn how to add and link packages with Xmake →

Information

License
BSL-1.0
Recipe updated
2025-10-23T08:41:05.000Z

Platforms

  • android: armeabi, armeabi-v7a, arm64-v8a, riscv64, x86, x86_64, mips, mip64
  • msys: i386, x86_64
  • mingw: i386, x86_64, arm, arm64
  • windows: x86, x64, arm, arm64, arm64ec
  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • bsd: i386, x86_64, arm, arm64, ppc, ppc64, ppc64el, riscv64, sparc64
  • harmony: armeabi-v7a, arm64-v8a, x86, x86_64
  • cross: i386, x86_64, arm, armv7, arm64, mips, mips64, mips64el, riscv, riscv64, loong64, s390x, ppc, ppc64, ppc64el, sh4, sparc64
  • wasm: wasm32, wasm64
  • iphoneos: arm64, x86_64
  • macosx: x86_64, arm64

Options

active_record
Enable ActiveRecord. · Type: boolean · Default: false
active_record_compiler
Enable ActiveRecord Compiler. · Type: boolean · Default: false
apache_connector
Build ApacheConnector support library (Need installed apache and apr libraries). · Type: boolean · Default: false
cpp_parser
Build C++ parser library. · Type: boolean · Default: false
crypto
Build Crypto support library (Need installed openssl libraries). · Type: boolean · Default: false
data
Build Data support library. · Type: boolean · Default: false
encodings
Build Encodings library. · Type: boolean · Default: false
encodings_compiler
Enable Encodings Compiler. · Type: boolean · Default: false
file2page
Build PageCompiler File2Page. · Type: boolean · Default: false
foundation
Build Foundation support library. · Type: boolean · Default: true
json
Build JSON support library. · Type: boolean · Default: false
jwt
Build JWT (JSON Web Token) library (Need installed openssl libraries). · Type: boolean · Default: false
mariadb
Build Data MySQL or MariaDB support library (Need installed MySQL or MariaDB client libraries). · Type: boolean · Default: false
mongodb
Build MongoDB support library. · Type: boolean · Default: false
mysql
Build Data MySQL or MariaDB support library (Need installed MySQL or MariaDB client libraries). · Type: boolean · Default: false
net
Build Net support library. · Type: boolean · Default: false
netssl
Build NetSSL support library (Need installed openssl libraries). · Type: boolean · Default: false
odbc
Build Data ODBC support library (Need installed ODBC libraries). · Type: boolean · Default: false
page_compiler
Build PageCompiler. · Type: boolean · Default: false
pdf
Build PDF support library. · Type: boolean · Default: false
poco_doc
Build Poco Documentation Generator. · Type: boolean · Default: false
poco_test
Build Unit tests. · Type: boolean · Default: false
postgresql
Build SQL PosgreSQL support library (Need installed PostgreSQL client libraries). · Type: boolean · Default: false
prometheus
Enable Prometheus. · Type: boolean · Default: false
redis
Build Redis support library. · Type: boolean · Default: false
sevenzip
Build 7Zip support library. · Type: boolean · Default: false
sql_parser
Build SQL Parser support library. · Type: boolean · Default: false
sqlite
Build Data SQlite support library. · Type: boolean · Default: false
util
Build Util support library. · Type: boolean · Default: false
xml
Build XML support library. · Type: boolean · Default: true
zip
Build Zip support library. · Type: boolean · Default: true

Versions

  • 1.11.0
  • 1.11.1
  • 1.11.6
  • 1.11.8
  • 1.12.1
  • 1.12.2
  • 1.12.4
  • 1.12.5
  • 1.13.3

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "poco 1.13.3"

show info

xrepo info "poco"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("poco 1.13.3")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("poco")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "poco 1.13.3" shell