Csound Csound-dev Csound-tekno Search About

[Csnd] Referencing macOS framework in CMake

Date2020-06-18 20:31
FromPeter 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?

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
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

Date2020-06-18 20:42
FromVictor Lazzarini
SubjectRe: [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:



*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

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?

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
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

Date2020-06-18 21:01
FromPeter Burgess
SubjectRe: [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:
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:



*Warning*

This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

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?

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
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
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


--
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