[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] sc-plugins -- passing cpp flags to the compiler via CMakeLists.txt



Hi Till -

Here's an example:
https://sourceforge.net/p/sc3-plugins/code/ci/master/tree/source/CMakeLists.txt#l225
set_property(TARGET PitchDetection APPEND PROPERTY COMPILE_DEFINITIONS
SC_FFT_VDSP)

which is the equivalent of passing -DSC_FFT_VDSP

Best
Dan

2013/10/16 Bovermann Till <till.bovermann@xxxxxxxx>:
> Dear friends,
>
> In order to get the reverb plugin running in sc-plugins (developed in faust), I need to find out how to pass compiler options to the automatic build architecture used in sc-plugins.
>
> For now, CMakeLists.txt in the sc-plugins/source directory contains a paragraph
>
> include_directories(DEINDUGens/include)
> BUILD_PLUGIN(JPverb
> "DEINDUGens/JPverb.cpp"
>            "" "JPverb")
>
> which works, however, I still need to add some -D flags to get it to run properly.
> Any idea on how to do that?
>
> cheers and thanks for your help
>         Till
>
> (
> just so that you know what to expect, once the reverb is available:
>         https://vimeo.com/lfsaw/verber
> )
> _______________________________________________
> sc-dev mailing list
>
> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
> search: https://listarc.bham.ac.uk/lists/sc-dev/search/



-- 
http://www.mcld.co.uk

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/