Skip to content

Commit 7611f36

Browse files
committed
Cleanup
1 parent 3e3af35 commit 7611f36

File tree

5 files changed

+14
-1
lines changed

5 files changed

+14
-1
lines changed

CMakeLists.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ project(arduino-audio-tools)
55

66
add_library(arduino-audio-tools INTERFACE)
77

8+
option(BUILD_TESTS "Build all tests automatically" OFF)
9+
10+
811
# make include directory available to calling projects
912
target_include_directories (arduino-audio-tools INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/src)
1013

@@ -15,4 +18,8 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src/" # source directory
1518
PATTERN "*.h" # select header files
1619
)
1720

18-
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/tests EXCLUDE_FROM_ALL)
21+
if (BUILD_TESTS)
22+
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/tests)
23+
else()
24+
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/tests EXCLUDE_FROM_ALL)
25+
endif()

examples/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
see [Wiki](https://github.com/pschatzmann/arduino-audio-tools/wiki/Examples)
File renamed without changes.
File renamed without changes.

tests/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
In the subdirectories you find the test sketches that can be build on the desktop.
3+
For details [see the wiki](https://github.com/pschatzmann/arduino-audio-tools/wiki/Running-an-Audio-Sketch-on-the-Desktop)
4+

0 commit comments

Comments
 (0)