Giter Site home page Giter Site logo

macos support about cmake HOT 9 CLOSED

ahoarau avatar ahoarau commented on September 27, 2024 1
macos support

from cmake.

Comments (9)

ahoarau avatar ahoarau commented on September 27, 2024 1

👍 Thanks !

from cmake.

biojppm avatar biojppm commented on September 27, 2024

@ahoarau Thanks for reporting, and sorry for the late reply. Amazingly, Github does not send notifications when a bug report is created on my own repos. I've enabled all the notification setttings but had no luck. I will have to contact their customer service to sort this out.

Anyway, to the problem. (The link you posted is not permanent and the code has drifted in the meantime, but I assume you're talking about this line). That line is there because I have no access to Apple hardware to test this on, and even if I tested on a VM, I'm not that used to with MacOS to make sure it works right.

Can you try something like this and confirm if it works?

    if(WIN32)
        __c4_install_exports(cmake/ "..")
    elseif(APPLE)
        __c4_install_exports(${_ARCHIVE_INSTALL_DIR}/${_c4_prefix}.framework/Resources "../../..")
    elseif(UNIX)
        __c4_install_exports(${_ARCHIVE_INSTALL_DIR}/cmake/${_c4_prefix} "../../..")
    # ....

Please let me know if it works for you, so that I can push it to the repo.

from cmake.

biojppm avatar biojppm commented on September 27, 2024

@ahoarau Can you verify?

from cmake.

ahoarau avatar ahoarau commented on September 27, 2024

Interestingly I did not see this Aug24 notification either. I'll try on my HW. In the meantime you could probably setup github actions in no time to test on macos. Thanks for the follow up !

from cmake.

ahoarau avatar ahoarau commented on September 27, 2024

And it was probably this line :
image

from cmake.

biojppm avatar biojppm commented on September 27, 2024

The current version is now working, including in the full test suite for c4core, of which a couple of tests suite do an install and subsequent consume of the project: eg https://github.com/biojppm/c4core/pull/23/checks?check_run_id=1300678500 .

@ahoarau Can you confirm this works for you?

from cmake.

ahoarau avatar ahoarau commented on September 27, 2024

Strange I'm having

CMake Error at CMakeLists.txt:6 (c4_declare_project):
  Unknown CMake command "c4_declare_project".

I think I'm missing some dep. rapidyaml master + c4core on pack branch + cmake on
bc83cfc ?
Good job on the actions though

from cmake.

biojppm avatar biojppm commented on September 27, 2024

This was a merge request. It has since been merged, so you can try now.

from cmake.

biojppm avatar biojppm commented on September 27, 2024

MacOS is now covered in actions in c4core and rapidyaml, so I'm closing this. Feel free to reopen if something's still not working right.

from cmake.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.