Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 43d9c06982
Fetching contributors…

Cannot retrieve contributors at this time

executable file 11 lines (8 sloc) 0.535 kb
#!/bin/bash
export PG_VERSION=$(cat src/drivers/pg/common.h | grep "VERSION \+" | sed 's/^.*VERSION *//' | sed 's/"//g')
export MYSQL_VERSION=$(cat src/drivers/mysql/common.h | grep "VERSION \+" | sed 's/^.*VERSION *//' | sed 's/"//g')
export SQLITE3_VERSION=$(cat src/drivers/sqlite3/common.h | grep "VERSION \+" | sed 's/^.*VERSION *//' | sed 's/"//g')
cmake -DCMAKE_PG_VERSION=$PG_VERSION \
-DCMAKE_MYSQL_VERSION=$MYSQL_VERSION \
-DCMAKE_SQLITE3_VERSION=$SQLITE3_VERSION \
-DCMAKE_INSTALL_PREFIX:PATH=/usr
Jump to Line
Something went wrong with that request. Please try again.