Skip to content

Commit

Permalink
Merge pull request #6 from hit9/dev1
Browse files Browse the repository at this point in the history
improvements for integrate with signals
  • Loading branch information
hit9 authored Apr 16, 2024
2 parents 0d40e0b + dc6484b commit 51de7ec
Show file tree
Hide file tree
Showing 31 changed files with 914 additions and 143 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ set_target_properties(bt PROPERTIES PUBLIC_HEADER "bt.h")
if(BT_TEST)
add_subdirectory(tests EXCLUDE_FROM_ALL)
add_subdirectory(example EXCLUDE_FROM_ALL)
add_subdirectory(example/onsignal EXCLUDE_FROM_ALL)
endif()

install(
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,18 @@ build: cmake-build
build-example:
cd build/example && make

build-example-onsignal:
cd build/example/onsignal && make

build-test:
cd build/tests && make

run-example: build-example
./build/example/bt_example

run-example-onsignal: build-example-onsignal
./build/example/onsignal/bt_example_onsignal

run-tests: build-test
ctest --test-dir ./build/tests --output-on-failure

Expand Down
Loading

0 comments on commit 51de7ec

Please sign in to comment.