File tree 5 files changed +32
-42
lines changed
5 files changed +32
-42
lines changed Original file line number Diff line number Diff line change 26
26
architecture : x64
27
27
28
28
- run : |
29
+ sudo apt update && sudo apt install liblz4-dev ninja-build cmake
30
+ sudo apt install g++ mesa-utils libglu1-mesa-dev freeglut3 freeglut3-dev mesa-common-dev
31
+ sudo apt-get install libglew-dev libglfw3-dev libglm-dev libglx-dev
29
32
curl -Lo mkn https://github.com/mkn/mkn/releases/download/latest/mkn_nix
30
- chmod +x mkn
31
- PATH="$PWD:$PATH" ./mkn.sh
32
- ./mkn clean build -dtOa -fPIC -p all
33
+ chmod +x mkn && PATH="$PWD:$PATH" ./mkn.sh
Original file line number Diff line number Diff line change 2
2
bin
3
3
build
4
4
p
5
+ include
6
+ lib
7
+ share
Original file line number Diff line number Diff line change
1
+
2
+ name : libpcl.base
3
+
4
+ property :
5
+ pcl.deps : org.boost math.eigen math.flann
6
+ pcl.subs : pcl&p(https://github.com/PointCloudLibrary/pcl)
7
+
8
+ dep : ${pcl.deps}
9
+ sub : ${pcl.subs}
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
set -exu
3
- CWD=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) " && cd $CWD
3
+ CWD=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
4
4
5
5
(
6
6
cd $CWD
7
-
8
- MKN_REPO=$( mkn -G MKN_REPO)
9
-
10
- rm -rf build && mkdir build && cd build
11
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \
7
+ mkn -C mkn.base.yaml
8
+ MKN_REPO=$( mkn -G MKN_REPO -C mkn.base.yaml)
9
+ rm -rf build && mkdir build
10
+ (
11
+ cd build
12
+ cmake -G Ninja -DCMAKE_BUILD_TYPE=Release \
12
13
-DEigen3_DIR=" ${MKN_REPO} /math/eigen/master/share/eigen3/cmake" \
13
14
-DBoost_DIR=" ${MKN_REPO} /org/boost/master/lib/cmake/Boost-1.86.0" \
14
15
-DFLANN_ROOT=" ${MKN_REPO} /math/flann/master" \
15
- -DCMAKE_INSTALL_PREFIX=$PWD ../p
16
- ninja && ninja install
16
+ -DCMAKE_INSTALL_PREFIX=$CWD ../p
17
+ ninja && ninja install
18
+ )
19
+ rm -rf build
17
20
)
Original file line number Diff line number Diff line change 1
1
2
-
3
2
name : libpcl
4
3
parent : base
5
-
4
+ super : mkn.base.yaml
6
5
profile :
7
6
- name : base
8
- dep : org.boost
9
- sub : pcl&p(https://github.com/PointCloudLibrary/pcl)
10
-
11
-
12
- - name : eigen
13
- parent : base
14
- dep : math.eigen
15
-
16
- - name : common
17
- inc : p/common/include
18
- src : p/common/src
19
- lang : cpp
20
-
21
- - name : filters
22
- inc : p/filters/include
23
- src : p/filters/src
24
- - name : features
25
- inc : p/features/include
26
- src : p/features/src
27
- - name : segmentation
28
- inc : p/segmentation/include
29
- src : p/segmentation/src
30
- - name : search
31
- inc : p/search/include
32
- src : p/search/src
33
- - name : kdtree
34
- inc : p/kdtree/include
35
- src : p/kdtree/src
36
-
7
+ inc : include
8
+ path : lib
9
+ dep : ${pcl.deps}
10
+ sub : ${pcl.subs}
You can’t perform that action at this time.
0 commit comments