Skip to content

Commit

Permalink
Merge pull request #167 from automaciej/multiple-lines
Browse files Browse the repository at this point in the history
Split the cmake invocation into multiple lines.
  • Loading branch information
bondagit authored Jul 25, 2024
2 parents 78be4df + 2ca48a0 commit cb5d400
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
9 changes: 8 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,14 @@ cd ..

cd daemon
echo "Building aes67-daemon ..."
cmake -DCPP_HTTPLIB_DIR="$TOPDIR"/3rdparty/cpp-httplib -DRAVENNA_ALSA_LKM_DIR="$TOPDIR"/3rdparty/ravenna-alsa-lkm -DENABLE_TESTS=ON -DWITH_AVAHI=ON -DFAKE_DRIVER=OFF -DWITH_SYSTEMD=ON .
cmake \
-DCPP_HTTPLIB_DIR="${TOPDIR}/3rdparty/cpp-httplib" \
-DRAVENNA_ALSA_LKM_DIR="${TOPDIR}/3rdparty/ravenna-alsa-lkm" \
-DENABLE_TESTS=ON \
-DWITH_AVAHI=ON \
-DFAKE_DRIVER=OFF \
-DWITH_SYSTEMD=ON \
.
make
cd ..

8 changes: 7 additions & 1 deletion buildfake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ cd ..

cd daemon
echo "Building aes67-daemon ..."
cmake -DCPP_HTTPLIB_DIR="$TOPDIR"/3rdparty/cpp-httplib -DRAVENNA_ALSA_LKM_DIR="$TOPDIR"/3rdparty/ravenna-alsa-lkm -DENABLE_TESTS=ON -DWITH_AVAHI=OFF -DFAKE_DRIVER=ON .
cmake \
-DCPP_HTTPLIB_DIR="${TOPDIR}/3rdparty/cpp-httplib" \
-DRAVENNA_ALSA_LKM_DIR="${TOPDIR}/3rdparty/ravenna-alsa-lkm" \
-DENABLE_TESTS=ON \
-DWITH_AVAHI=OFF \
-DFAKE_DRIVER=ON \
.
make
cd ..

0 comments on commit cb5d400

Please sign in to comment.