Folks,

I have updated SOCI tests handling, so related options
like SOCI_TEST_<BACKEND> SOCI_TEST_<BACKEND>_CONNSTR
are enabled/disabled dynamically depending on
SOCI_<BACKEND> as well as SOCI_TEST (by default ON).

Here is sample CMake call I used for testing:

cmake \
  -DSOCI_EMPTY=ON \
  -DSOCI_SQLITE3=ON \
  -DSOCI_POSTGRESQL=ON \
  -DSOCI_MYSQL=ON \
  -DWITH_ORACLE=OFF \
  -DSOCI_TEST=ON \
  -DSOCI_TEST_EMPTY_CONNSTR="dummy" \
  -DSOCI_TEST_SQLITE3_CONNSTR="test.db" \
  -DSOCI_TEST_POSTGRESQL_CONNSTR:STRING="dbname=soci_test" \
  -DSOCI_TEST_MYSQL_CONNSTR:STRING="db=soci_test user=mloskot
password=pantera" \
  ../master/src

Testing and comments much appreciated.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to