building static version of Poco C++ libraries [closed]
Asked Answered
S

1

15

can any body guide us on how to build static version of the Poco C++ libraries ?

Sundew answered 13/4, 2012 at 10:50 Comment(2)
please add a few deatils about your platform, IDE,...Alejandrinaalejandro
In my opinion this question is highly constructiveKhat
V
16

Assuming you use you use autotools to build Poco, run ./configure with the --static flag.

$ ./configure --static

See ./configure --help for a full list of flags.

Vaasa answered 13/4, 2012 at 11:5 Comment(2)
is there a way to get it to build only release (non debug) libraries?Smut
Setting the DEFAULT_TARGET does not work. So I changed the lines that set the DEFAULT_TARGET as all_shared, all_static to shared_release and static_release in build/rules/global. That seems to work.Equity

© 2022 - 2024 — McMap. All rights reserved.