Giter Site home page Giter Site logo

Comments (2)

autc04 avatar autc04 commented on June 28, 2024 1

Oh, my bad - documentation comments fixed in 2dec12f.

It should be

cmake .. -DCMAKE_TOOLCHAIN_FILE=path/to/Retro68-build/toolchain/m68k-apple-macos/cmake/retro68.toolchain.cmake

... the other path was outdated. There's nothing there, and apparently cmake does not report that properly as an error and instead only complains about the consequences of not having a toolchain file (it thinks you're building for your linux system and complains that add_application does not exist).

With this corrected path, things should "just work". I don't get policy warnings with cmake 3.11 and the Raytracer sample, but anyway, most cmake policy warnings are absolutely harmless.

It appears that the toolchain build system actually creates two separate copies of the retro68.toolchain.cmake file . They appear to be identical,...

One is in the build directory; ignore it. The things built in the "build-target" directory (except for sample apps) get "installed" into the toolchain directory using a make install command, that's when the different relevant parts are put into the correct directories.
To be exact, add_application.cmake gets copied directly from the source directory, whereas retro68.toolchain.cmake is first created from retro68.toolchain.cmake.in (which lives in the source directory), and then installed (copied) to its final location.

from retro68.

donbright avatar donbright commented on June 28, 2024

Thanks

from retro68.

Related Issues (20)

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.