[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
- To: SuperCollider developers list <sc-dev@xxxxxxxxxxxxxxxx>
- Subject: Re: [sc-dev] sc-plugins -- passing cpp flags to the compiler via CMakeLists.txt
- From: Dan Stowell <danstowell+sc3@xxxxxxxxx>
- Date: Wed, 16 Oct 2013 13:33:58 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=bMbKeKDb1/Ej4vQUSIB9vI//7Zv81xRmS0cXSHXGWrI=; b=Qq1x/pYvMXBtJ/EcVuTTisO6zCovcdzpu+Oi2nQiB+PWYz6WKSMABUsCzBt2A+EODh HXiYC83AkSWEZKgxINlqFtaihOnYTbyatN104UBXSyBTBGMQzbuhQ0JPLNPRUCzSKhMU 4fKcgdo3TLoceuq9BihjfvO4zotH7ndKYi/Ns6ShOqxhJ4u8yeE3nyv85grm5Q/d2AKw q7V8tTddUB98EvdscjCYjVbvso2TEWUttN/KyJjcnBeiY7t1NqfKpVUYbHSp0pCizbqQ wIE/1+TrrLXPAjCyQTNQAmuSv8A8C4jdwKi0hq7yy3C7djoT6AiTvubbEtlZmsA3is3E QCfA==
- In-reply-to: <89385D3B-D9EF-4329-AB8E-D4F50890ACF3@aalto.fi>
- List-id: SuperCollider developers mailing list <sc-devel.create.ucsb.edu>
- References: <89385D3B-D9EF-4329-AB8E-D4F50890ACF3@aalto.fi>
- Reply-to: sc-dev@xxxxxxxxxxxxxxxx
- Sender: owner-sc-dev@xxxxxxxxxxxxxxxx
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/