can any body guide us on how to build static version of the Poco C++ libraries ?
Asked
Active
Viewed 6,963 times
15
-
please add a few deatils about your platform, IDE,... – Novellizator Apr 13 '12 at 10:52
-
In my opinion this question is *highly* constructive – lrleon Oct 16 '15 at 20:06
1 Answers
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.

Benjamin Bannier
- 55,163
- 11
- 60
- 80
-
5is there a way to get it to build only release (non debug) libraries? – proteneer Feb 04 '14 at 23:38
-
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. – Yusuf Tarık Günaydın May 17 '19 at 14:11