File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
examples/examples-desktop/mp3 Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -21,5 +21,5 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src/" # source directory
21
21
if (BUILD_TESTS )
22
22
add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /tests )
23
23
else ()
24
- add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /tests EXCLUDE_FROM_ALL )
24
+ # add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/tests EXCLUDE_FROM_ALL)
25
25
endif ()
Original file line number Diff line number Diff line change @@ -32,13 +32,20 @@ if(NOT arduino_audio_tools_POPULATED)
32
32
add_subdirectory (${arduino_audio_tools_SOURCE_DIR} )
33
33
endif ()
34
34
35
+ # Build with libhelix
36
+ FetchContent_Declare (arduino_helix GIT_REPOSITORY "https://github.com/pschatzmann/arduino-libhelix.git" GIT_TAG main )
37
+ FetchContent_GetProperties (arduino_helix )
38
+ if (NOT arduino_helix_POPULATED )
39
+ FetchContent_Populate (arduino_helix )
40
+ add_subdirectory (${arduino_helix_SOURCE_DIR} )
41
+ endif ()
35
42
36
43
# build sketch as executable
37
44
add_executable (mp3_dt mp3.cpp )
38
45
39
46
# set preprocessor defines
40
47
target_compile_definitions (arduino_emulator PUBLIC -DDEFINE_MAIN )
41
- # target_compile_definitions(arduino_helix PUBLIC -DARDUINO)
48
+ target_compile_definitions (arduino_helix PUBLIC -DARDUINO )
42
49
target_compile_definitions (mp3_dt PUBLIC -DARDUINO -DIS_DESKTOP -DEXIT_ON_STOP )
43
50
44
51
# OS/X might need this setting for core audio
You can’t perform that action at this time.
0 commit comments