Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipDeegan committed Sep 15, 2024
1 parent fac47dc commit 567e69a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
9 changes: 7 additions & 2 deletions mkn.base.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

name: libpcl.base
dep: org.boost math.eigen
sub: pcl&p(https://github.com/PointCloudLibrary/pcl)

property:
pcl.deps: org.boost math.eigen math.flann
pcl.subs: pcl&p(https://github.com/PointCloudLibrary/pcl)

dep: ${pcl.deps}
sub: ${pcl.subs}
10 changes: 7 additions & 3 deletions mkn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $CWD
mkn -C mkn.base.yaml
MKN_REPO=$(mkn -G MKN_REPO -C mkn.base.yaml)
rm -rf build && mkdir build && cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \
rm -rf build && mkdir build
(
cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \
-DEigen3_DIR="${MKN_REPO}/math/eigen/master/share/eigen3/cmake" \
-DBoost_DIR="${MKN_REPO}/org/boost/master/lib/cmake/Boost-1.86.0" \
-DFLANN_ROOT="${MKN_REPO}/math/flann/master" \
-DCMAKE_INSTALL_PREFIX=$CWD ../p
ninja && ninja install
ninja && ninja install
)
rm -rf build
)
6 changes: 3 additions & 3 deletions mkn.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

name: libpcl
parent: base

super: mkn.base.yaml
profile:
- name: base
inc: include
path: lib
dep: org.boost math.eigen
sub: pcl&p(https://github.com/PointCloudLibrary/pcl)
dep: ${pcl.deps}
sub: ${pcl.subs}

0 comments on commit 567e69a

Please sign in to comment.