[Csnd] Referencing macOS framework in CMake
Date | 2020-06-18 20:31 |
From | Peter Burgess |
Subject | [Csnd] Referencing macOS framework in CMake |
Hi csounders. I know this isn't a Csound specific issue, but I've spent a while reading cmake docs and looking for info on macOS frameworks, and nothing has helped me succeed in linking to Csound's macOS framework style library on CMake. Are there any CSound related instructions on how to do this?
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
I've gone as far as to ask my collegues who almost exclusively develop on macOS and it seems no one knows enough about frameworks and Cmake to help, haha. Pete |
Date | 2020-06-18 20:42 |
From | Victor Lazzarini |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] Referencing macOS framework in CMake |
If you use FindCsound.cmake from the Csound repo (under cmake), all you need is add find_package(Csound) and it will do the job.
See the CMaKeFile for csound-pd as a reference.
https://github.com/csound/csound_pd/blob/master/CMakeLists.txt
Prof. Victor Lazzarini
Maynooth University
Ireland
On 18 Jun 2020, at 20:32, Peter Burgess <pete.soundtechnician@gmail.com> wrote:
|
Date | 2020-06-18 21:01 |
From | Peter Burgess |
Subject | Re: [Csnd] [EXTERNAL] [Csnd] Referencing macOS framework in CMake |
Thank you very much Victor! With your info and references I have easily resolved my issues. On Thu, Jun 18, 2020 at 8:43 PM Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |