Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix MSVC build issues #30

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ target_include_directories(string-machine

if(MSVC)
target_compile_options(string-machine PUBLIC "/fp:fast")
target_compile_definitions(string-machine PRIVATE _USE_MATH_DEFINES)
else()
target_compile_options(string-machine PUBLIC "-ffast-math")
endif()
Expand Down
2 changes: 1 addition & 1 deletion gen/dsp/LFO3PhaseDual.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ void LFO3PhaseDual::process(

LFO3PhaseDualDsp &dsp = static_cast<LFO3PhaseDualDsp &>(*fDsp);
float *inputs[] = {

0
};
float *outputs[] = {
out0,out1,out2,
Expand Down
2 changes: 1 addition & 1 deletion gen/dsp/NoiseLFO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ void NoiseLFO::process(

NoiseLFODsp &dsp = static_cast<NoiseLFODsp &>(*fDsp);
float *inputs[] = {

0
};
float *outputs[] = {
out0,
Expand Down