Commit a3585147 authored by Mateusz Loskot's avatar Mateusz Loskot

Complete scripts\built.bat with basic CMake options.

Script can copied and refactored as scripts\built.sh for Unix.

Closes #41
parent 225d5a3a
......@@ -42,15 +42,30 @@ mkdir %BUILDDIR%
pushd %BUILDDIR%
cmake.exe ^
-G %GENERATOR% ^
rem -DBOOST_ROOT:PATH=%BOOST_ROOT% ^
rem -DBOOST_LIBRARYDIR:PATH=%BOOST_ROOT%/lib%P%-msvc-14.0 ^
-DSOCI_EMPTY:BOOLEAN=ON ^
-DSOCI_DB2:BOOLEAN=OFF ^
-DSOCI_FIREBIRD:BOOLEAN=OFF ^
-DSOCI_MYSQL:BOOLEAN=OFF ^
-DSOCI_ODBC:BOOLEAN=OFF ^
-DSOCI_ORACLE:BOOLEAN=OFF ^
-DSOCI_POSTGRESQL:BOOLEAN=OFF ^
-DWITH_BOOST=ON ^
-DWITH_DB2=ON ^
-DWITH_FIREBIRD=ON ^
-DWITH_MYSQL=ON ^
-DWITH_ODBC=ON ^
-DWITH_ORACLE=ON ^
-DWITH_SQLITE3=ON ^
-DSOCI_EMPTY=ON ^
-DSOCI_EMPTY_TEST_CONNSTR="" ^
-DSOCI_DB2=ON ^
-DSOCI_DB2_TEST_CONNSTR="" ^
-DSOCI_FIREBIRD=ON ^
-DSOCI_FIREBIRD_TEST_CONNSTR="" ^
-DSOCI_MYSQL=ON ^
-DSOCI_MYSQL_TEST_CONNSTR="" ^
-DSOCI_ODBC=ON ^
-DSOCI_ODBC_TEST_MYSQL_CONNSTR="" ^
-DSOCI_ODBC_TEST_POSTGRESQL_CONNSTR="" ^
-DSOCI_ORACLE=ON ^
-DSOCI_ORACLE_TEST_CONNSTR="" ^
-DSOCI_POSTGRESQL=ON ^
-DSOCI_POSTGRESQL_TEST_CONNSTR="" ^
-DSOCI_SQLITE3=ON ^
-DSOCI_SQLITE3_TEST_CONNSTR="" ^
..
move SOCI.sln SOCI%P%%U%.sln
rem msbuild.exe SOCI%P%%U%.sln /p:Configuration=Release /p:Platform=%MSBUILDP%
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment