Hello Martin,

For starters, build a static Wt library by setting SHARED_LIBS to OFF.

Then, we use cmake to build the application. We edit the cmake cache
to add some options (e.g. regarding visibility) to reduce the
executable size. We do the linking step manually (adding desired
options, and selecting the right versions of the libraries).

Maybe someone on the list is a better cmake expert and can explain how
to do it properly?

Note that on Windows, static linking is the default for Wt and this
works perfectly with cmake.

We collected some notes about Wt on embedded systems on our Wiki:
http://www.webtoolkit.eu/wt/wiki/index.php/Wt_embedded
(Rumours are heard that emweb has been optimizing Wt again. When
released (3.0), these optimizations will make Wt more than twice as
fast at almost half the per-session memory of what is mentioned there)

Regards,
Wim.

2009/2/4 Martin Hansen <[email protected]>:
> Hi
>
> The use in embedded systems is mentioned in the feature list.
> I am unfamiliar with the cmake system, and would like to know if it is
> possible to create a static linked WT aplication?
>
> --
> Ragards martin
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to