On 23/12/10 11:51, Mateusz Loskot wrote: > On 23/12/10 11:36, Denis Arnaud wrote: >> >> master branch (and you will be able to push it to SourceForge for >> synchronisation purpose). > > Great. I'll try to test it tonight. > > I think I'd add public CMake option like > > SOCI_BUILD_BURRIED_HEADERS=ON|OFF > > to control this features. > I would prefer to turn it ON by default.
Denis. There is a problem which I described as comment to the pull request: https://github.com/denisarnaud/soci/pull/1 For the ml archives, I include copy of it below: The build of the branch does not work for me. I added missing bits to CMake configuration but there is a small problem: cd /home/mloskot/dev/soci/_git/build-github/backends/mysql && /usr/bin/c++ -Dsoci_mysql_EXPORTS -DSOCI_ABI_VERSION=3.1 -DSOCI_HEADERS_BURRIED=1 -DHAVE_BOOST=1 -DHAVE_BOOST_DATE_TIME=1 -DHAVE_MYSQL=1 -fPIC -pedantic -ansi -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wfloat-equal -Wredundant-decls -Wno-long-long -std=c++98 -fPIC -I/usr/include/mysql -I/home/mloskot/dev/soci/_git/github/src/core -o CMakeFiles/soci_mysql.dir/standard-use-type.cpp.o -c /home/mloskot/dev/soci/_git/github/src/backends/mysql/standard-use-type.cpp In file included from /home/mloskot/dev/soci/_git/github/src/backends/mysql/standard-use-type.cpp:10: /home/mloskot/dev/soci/_git/github/src/backends/mysql/common.h:17: fatal error: soci-mysql.h: No such file or directory Obviously, the layout of buried headers do not match the layout of source tree, so it's not possible to compile Git repo as it is now. Hmm, it looks we would need to change a bit the layout of repo and bury the headers in Git, inside to /include/soci but keep .cpp files in /src/ Best regards, -- Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
