-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2c533c3
commit 435dda1
Showing
12 changed files
with
84 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ jobs: | |
run: > | ||
sudo apt update && | ||
sudo apt install | ||
cmake | ||
ninja-build | ||
gcovr | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,51 @@ | ||
project(gw_eurorack) | ||
cmake_minimum_required(VERSION 3.23...3.27) | ||
project(gw-eurorack) | ||
|
||
add_library(gw_eurorack INTERFACE) | ||
add_library(gw::eurorack ALIAS gw_eurorack) | ||
target_include_directories(gw_eurorack INTERFACE ${PROJECT_SOURCE_DIR}) | ||
target_link_libraries(gw_eurorack INTERFACE tetl::etl) | ||
add_library(gw-eurorack INTERFACE) | ||
add_library(gw::eurorack ALIAS gw-eurorack) | ||
target_compile_features(gw-eurorack INTERFACE cxx_std_20) | ||
target_link_libraries(gw-eurorack INTERFACE tetl::etl) | ||
|
||
if(CMAKE_CROSSCOMPILING) | ||
return() | ||
endif() | ||
target_sources(gw-eurorack INTERFACE | ||
FILE_SET | ||
HEADERS | ||
BASE_DIRS | ||
${PROJECT_SOURCE_DIR} | ||
FILES | ||
"gw/audio/delay/delay_line.hpp" | ||
"gw/audio/delay/static_delay_line.hpp " | ||
"gw/audio/dither/no_dither.hpp" | ||
"gw/audio/dither/rectangle_dither.hpp" | ||
"gw/audio/dither/triangle_dither.hpp" | ||
"gw/audio/dynamic/compressor.hpp" | ||
"gw/audio/envelope/adsr.hpp" | ||
"gw/audio/mix/cross_fade.hpp" | ||
"gw/audio/music/note.hpp" | ||
"gw/audio/noise/white_noise.hpp" | ||
"gw/audio/oscillator/oscillator.hpp" | ||
"gw/audio/oscillator/variable_shape_oscillator.hpp" | ||
"gw/audio/oscillator/wavetable_oscillator.hpp" | ||
"gw/audio/unit/time.hpp" | ||
"gw/audio/waveshape/wave_shaper.hpp" | ||
|
||
add_executable(gw_eurorack_tests) | ||
add_test(NAME gw_eurorack_tests COMMAND gw_eurorack_tests) | ||
target_link_libraries(gw_eurorack_tests PRIVATE gw::eurorack) | ||
target_sources(gw_eurorack_tests | ||
PRIVATE | ||
main_test.cpp | ||
"gw/core/arm.hpp" | ||
"gw/core/benchmark.hpp" | ||
"gw/core/config.hpp" | ||
"gw/core/mdspan.hpp" | ||
|
||
gw/audio/delay/static_delay_line_test.cpp | ||
gw/audio/dither/no_dither_test.cpp | ||
gw/audio/dither/rectangle_dither_test.cpp | ||
gw/audio/dither/triangle_dither_test.cpp | ||
gw/audio/envelope/envelope_follower_test.cpp | ||
gw/audio/music/note_test.cpp | ||
gw/audio/noise/white_noise_test.cpp | ||
gw/audio/unit/decibel_test.cpp | ||
gw/fft/fft_test.cpp | ||
gw/math/ilog2_test.cpp | ||
gw/math/ipow_test.cpp | ||
"gw/eurorack/hades.hpp" | ||
|
||
"gw/fft/bitrevorder.hpp" | ||
"gw/fft/direction.hpp" | ||
"gw/fft/fft.hpp" | ||
|
||
"gw/math/buffer_interpolation.hpp" | ||
"gw/math/dynamic_smoothing.hpp" | ||
"gw/math/fast_lerp.hpp" | ||
"gw/math/hermite_interpolation.hpp" | ||
"gw/math/ilog2.hpp" | ||
"gw/math/ipow.hpp" | ||
"gw/math/range.hpp" | ||
|
||
"gw/testing/approx.hpp" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters