summaryrefslogtreecommitdiff
path: root/test/poi-service/rebuild_all.sh
diff options
context:
space:
mode:
author <philippe colliot>2015-11-27 18:23:14 +0100
committer <philippe colliot>2015-11-27 18:23:14 +0100
commitc9e0a2e4535b7f982c94dbd87bcad26f8561806a (patch)
tree63bb1e0f6463141db50e187d767cd8bcdd334521 /test/poi-service/rebuild_all.sh
parent4bd633ece3b3540a12405d23c9cc2651f85d9e2f (diff)
downloadpoi-service-c9e0a2e4535b7f982c94dbd87bcad26f8561806a.tar.gz
soft tested under Ubuntu 15.10 64 bits
Diffstat (limited to 'test/poi-service/rebuild_all.sh')
-rwxr-xr-xtest/poi-service/rebuild_all.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/poi-service/rebuild_all.sh b/test/poi-service/rebuild_all.sh
index 0ed9518..b115d32 100755
--- a/test/poi-service/rebuild_all.sh
+++ b/test/poi-service/rebuild_all.sh
@@ -17,11 +17,14 @@ echo 'build the poi client'
echo 'delete the build folder'
rm -rf build
+
mkdir build
cd build
+OS_VERSION=$(uname -i)
+
echo 'build with CommonAPI'
-cmake -DWITH_FRANCA_DBUS_INTERFACE=ON -DWITH_DATABASE_SUPPLIER=ON -DCOMMONAPI_DBUS_TOOL_GENERATOR=$COMMON_API_ROOT_DIR/common-api-dbus-tools/org.genivi.commonapi.dbus.cli.product/target/products/org.genivi.commonapi.dbus.cli.product/linux/gtk/x86/commonapi-dbus-generator-linux-x86 -DCOMMONAPI_TOOL_GENERATOR=$COMMON_API_ROOT_DIR/common-api-tools/org.genivi.commonapi.core.cli.product/target/products/org.genivi.commonapi.core.cli.product/linux/gtk/x86/commonapi-generator-linux-x86 -DWITH_DEBUG=ON . ../
+cmake -DWITH_FRANCA_DBUS_INTERFACE=ON -DWITH_DATABASE_SUPPLIER=ON -DCOMMONAPI_DBUS_TOOL_GENERATOR=$COMMON_API_ROOT_DIR/common-api-dbus-tools/org.genivi.commonapi.dbus.cli.product/target/products/org.genivi.commonapi.dbus.cli.product/linux/gtk/$OS_VERSION/commonapi-dbus-generator-linux-$OS_VERSION -DCOMMONAPI_TOOL_GENERATOR=$COMMON_API_ROOT_DIR/common-api-tools/org.genivi.commonapi.core.cli.product/target/products/org.genivi.commonapi.core.cli.product/linux/gtk/$OS_VERSION/commonapi-generator-linux-$OS_VERSION -DWITH_DEBUG=ON . ../
make