File tree Expand file tree Collapse file tree 4 files changed +4
-24
lines changed
examples/examples-desktop Expand file tree Collapse file tree 4 files changed +4
-24
lines changed Original file line number Diff line number Diff line change @@ -8,29 +8,14 @@ set (DCMAKE_CXX_FLAGS "-Werror")
8
8
include (FetchContent )
9
9
option (BUILD_SHARED_LIBS "Build using shared libraries" OFF )
10
10
11
- # # Build with Portaudio
12
- # FetchContent_Declare(portaudio GIT_REPOSITORY "https://github.com/PortAudio/portaudio.git" GIT_TAG master )
13
- # FetchContent_GetProperties(portaudio)
14
- # if(NOT portaudio_POPULATED)
15
- # FetchContent_Populate(portaudio)
16
- # add_subdirectory(${portaudio_SOURCE_DIR})
17
- # endif()
18
-
19
- # # Build with Linux Arduino Emulator
20
- # FetchContent_Declare(arduino_emulator GIT_REPOSITORY "https://github.com/pschatzmann/Arduino-Emulator.git" GIT_TAG main )
21
- # FetchContent_GetProperties(arduino_emulator)
22
- # if(NOT arduino_emulator_POPULATED)
23
- # FetchContent_Populate(arduino_emulator)
24
- # add_subdirectory(${arduino_emulator_SOURCE_DIR})
25
- # endif()
26
-
27
11
# Build with arduino-audio-tools
28
12
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
29
13
add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /../../.. ${CMAKE_CURRENT_BINARY_DIR} /arduino-audio-tools )
30
14
endif ()
31
15
32
16
# build sketch as executable
33
- add_executable (generator generator.cpp )
17
+ set_source_files_properties (generator.ino PROPERTIES LANGUAGE CXX )
18
+ add_executable (generator generator.ino )
34
19
35
20
# set preprocessor defines
36
21
target_compile_definitions (arduino_emulator PUBLIC -DDEFINE_MAIN )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ if(NOT arduino_helix_POPULATED)
21
21
endif ()
22
22
23
23
# build sketch as executable
24
- add_executable (mp3_dt mp3.cpp )
24
+ set_source_files_properties (mp3.ino PROPERTIES LANGUAGE CXX )
25
+ add_executable (mp3_dt mp3.ino )
25
26
26
27
# set preprocessor defines
27
28
target_compile_definitions (arduino_emulator PUBLIC -DDEFINE_MAIN )
File renamed without changes.
You can’t perform that action at this time.
0 commit comments