ddiakopoulos / libnyquist

:microphone: Cross platform C++11 library for decoding audio (mp3, wav, ogg, opus, flac, etc)
BSD 2-Clause "Simplified" License
536 stars 64 forks source link

Improved example; amalgamated libraries #14

Closed r-lyeh-archived closed 8 years ago

r-lyeh-archived commented 8 years ago

Also, for reference, this is the batch file I am using to compile from the command-line:

cl /Zi /Oy- /MDd /DDEBUG /EHsc ^
        -I include ^
        -I include\libnyquist ^
        -I third_party ^
        -I third_party\flac\src\include ^
        -I third_party\libogg\include ^
        -I third_party\libvorbis\include ^
        -I third_party\musepack\include ^
        -I third_party\opus\celt ^
        -I third_party\opus\silk ^
        -I third_party\opus\silk\float ^
        -I third_party\opus\libopus\include ^
        -I third_party\opus\opusfile\include ^
        -I third_party\opus\opusfile\src\include ^
        -I third_party\wavpack\include ^
        src\*.c* ^
        third_party\rtaudio\RtAudio.cpp /D__WINDOWS_DS__ ole32.lib user32.lib ^
        examples\src\main.cpp
r-lyeh-archived commented 8 years ago

Ah, forgot to update the project files btw

ddiakopoulos commented 8 years ago

Alrighty, I think I understand what's going on here. I guess I was only compiling the WavePack deps as part of the solution files and not as a deps.c? Since you are using a batch file?

r-lyeh-archived commented 8 years ago

I didn't get your question :) You can use all the deps files exclusively in the solutions now. So, no more extra files are required to build an app, except the libnyquist/src files from now.