Hey all, I bit the bullet and updated the tree so that Wt now uses the new <Wt/...> include file style in its own include files. Unfortunately (which is why I was postponing this change), this required reorganizing the src/ directory, something which CVS does not handle very well.
When updating your CVS tree, be sure to use the '-d -P' flags: $ cvs update -d -P With respect to installation, nothing has changed compared to the previous commit: Wt installs all of its header files inside a Wt subdir in your include folder. But you now have two choices for including Wt header files: 1) Backwards compatible style of include files: To use the following style of include files: #include <WLineEdit> #include <Ext/Button> #include <Chart/WPieChart> you need to have in your include path both '.../include' and '.../include/Wt' (where '...' is the installation prefix of Wt). 2) New style of include files: To use the new style of include files: #include <Wt/WLineEdit> #include <Wt/Ext/Button> #include <Wt/Chart/WPieChart> you only need to have in your include path '.../include'. Which means that if you have Wt installed in a standard location (/usr/ or /usr/local/), this should work out of the box ! I have updated the FindWt.cmake script with some documentation on how you can use it in your own projects, for either style of include files. If you would like to migrate to the new scoped header style in your projects, you might want to use a global search and replace like this (at your own risk!!): $ for i in `find . -type f`; do cat $i | sed -e 's/#include <W/#include <Wt\/W/g' | sed -e 's/#include <Ext/#include <Wt\/Ext/g' | sed -e 's/#include <Chart/#include <Wt\/Chart/g' > /tmp/foo; mv /tmp/foo $i; done Regards, koen ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest