Skip to content

Commit

Permalink
removed example compilation for rpi
Browse files Browse the repository at this point in the history
  • Loading branch information
opokatech committed May 5, 2024
1 parent b01289b commit f9f5aba
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ all:
@echo " BUILD_TYPE- current value='${BUILD_TYPE}' used for CMAKE - either Release or Debug"
@echo ""
@echo "Targets:"
@echo " example - build example program"
@echo " examplerpi- build example program for Raspberry Pi 3+"
@echo " example - build example programs"
@echo " tests - build tests and run"
@echo " testcov - build tests with coverage and run them"
@echo " clean - cleans build directory"
Expand All @@ -26,14 +25,6 @@ example:
@rm -f compile_commands.json
@ln -s build_$@_${BUILD_TYPE_LC}/compile_commands.json .

examplerpi:
@cmake -S . -B build_rpi -G Ninja \
--toolchain cmake/rpi.cmake \
-DUSE_EXAMPLE=ON \
-DUSE_TESTS=OFF \
-DCMAKE_BUILD_TYPE=Release
@cmake --build build_rpi

tests:
@make TESTS=ON example
@./build_example_${BUILD_TYPE_LC}/options_tests
Expand Down

0 comments on commit f9f5aba

Please sign in to comment.