Skip to content

Commit 284f47b

Browse files
Add remaining scripts
1 parent 4fc1559 commit 284f47b

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

scripts/example-build.sh

100644100755
File mode changed.

scripts/gs-build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
rm compile_commands.json >& /dev/null # We will regen this later
2+
mkdir -p build_gs && cd build_gs
3+
cmake .. -DCMAKE_BUILD_TYPE=GS -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
4+
cmake --build .
5+
cd ..
6+
ln -s $(pwd)/build_gs/compile_commands.json $(pwd)/compile_commands.json

scripts/obc-build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
rm compile_commands.json >& /dev/null # We will regen this later
2+
mkdir -p build_arm && cd build_arm
3+
cmake .. -DCMAKE_BUILD_TYPE=OBC -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
4+
cmake --build .
5+
cd ..
6+
ln -s $(pwd)/build_arm/compile_commands.json $(pwd)/compile_commands.json

scripts/orbital-test.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
mkdir -p build && cd build
2+
cmake .. -DCMAKE_BUILD_TYPE=Test
3+
cmake --build .
4+
ctest --verbose

0 commit comments

Comments
 (0)