File tree Expand file tree Collapse file tree 13 files changed +13
-13
lines changed
examples/examples-desktop Expand file tree Collapse file tree 13 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ endif()
35
35
# build sketch as executable
36
36
add_executable (generator generator.cpp )
37
37
38
- # use main() from arduino_emulator
38
+ # set preprocessor defines
39
39
target_compile_definitions (arduino_emulator PUBLIC -© )
40
40
41
41
# OS/X might need this setting for core audio
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ endif()
35
35
# build sketch as executable
36
36
add_executable (mp3 mp3.cpp )
37
37
38
- # use main() from arduino_emulator
38
+ # set preprocessor defines
39
39
target_compile_definitions (arduino_emulator PUBLIC -DDEFINE_MAIN )
40
40
target_compile_definitions (mp3 PUBLIC -DEXIT_ON_STOP )
41
41
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ endif()
21
21
22
22
# build sketch as executable
23
23
add_executable (aac-fdk-encode aac-fdk-encode.cpp ../main.cpp )
24
- # use main() from arduino_emulator
24
+ # set preprocessor defines
25
25
target_compile_definitions (aac-fdk-encode PUBLIC -DARDUINO -DEXIT_ON_STOP -DUSE_FDK -DIS_DESKTOP )
26
26
27
27
# specify libraries
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ endif()
21
21
# build sketch as executable
22
22
add_executable (aac-fdk aac-fdk.cpp ../main.cpp )
23
23
24
- # use main() from arduino_emulator
24
+ # set preprocessor defines
25
25
target_compile_definitions (aac-fdk PUBLIC -DARDUINO -DEXIT_ON_STOP -DUSE_FDK -DUSE_PORTAUDIO -DIS_DESKTOP )
26
26
27
27
# OS/X might need this setting for core audio
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ endif()
21
21
# build sketch as executable
22
22
add_executable (aac-helix aac-helix.cpp ../main.cpp )
23
23
24
- # use main() from arduino_emulator
24
+ # set preprocessor defines
25
25
target_compile_definitions (aac-helix PUBLIC -DARDUINO -DEXIT_ON_STOP -DUSE_HELIX -DUSE_PORTAUDIO -DIS_DESKTOP )
26
26
27
27
# OS/X might need this setting for core audio
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ endif()
11
11
12
12
# build sketch as executable
13
13
add_executable (effects effects.cpp ../main.cpp )
14
- # use main() from arduino_emulator
14
+ # set preprocessor defines
15
15
target_compile_definitions (effects PUBLIC -DARDUINO -DEXIT_ON_STOP -DIS_DESKTOP )
16
16
17
17
# specify libraries
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ endif()
13
13
# build sketch as executable
14
14
add_executable (filter filter .cpp ../main.cpp )
15
15
16
- # use main() from arduino_emulator
16
+ # set preprocessor defines
17
17
target_compile_definitions (filter PUBLIC -DEXIT_ON_STOP -DIS_DESKTOP )
18
18
19
19
# specify libraries
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ endif()
13
13
# build sketch as executable
14
14
add_executable (generator generator.cpp ../main.cpp )
15
15
16
- # use main() from arduino_emulator
16
+ # set preprocessor defines
17
17
target_compile_definitions (generator PUBLIC -DUSE_PORTAUDIO -DEXIT_ON_STOP -DIS_DESKTOP )
18
18
19
19
# specify libraries
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ endif()
21
21
22
22
# build sketch as executable
23
23
add_executable (mp3-helix mp3-helix.cpp ../main.cpp )
24
- # use main() from arduino_emulator
24
+ # set preprocessor defines
25
25
target_compile_definitions (mp3-helix PUBLIC -DARDUINO -DEXIT_ON_STOP -DUSE_HELIX -DUSE_PORTAUDIO -DIS_DESKTOP )
26
26
27
27
# OS/X might need this setting for core audio
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ endif()
21
21
22
22
# build sketch as executable
23
23
add_executable (mp3-lame mp3-lame.cpp ../main.cpp )
24
- # use main() from arduino_emulator
24
+ # set preprocessor defines
25
25
target_compile_definitions (mp3-lame PUBLIC -DARDUINO -DEXIT_ON_STOP -DUSE_LAME -DUSE_PORTAUDIO -DIS_DESKTOP )
26
26
27
27
# specify libraries
You can’t perform that action at this time.
0 commit comments