Giter Site home page Giter Site logo

Comments (8)

blindij avatar blindij commented on July 26, 2024

The path hello.x - hello - hello.x let me touch upon the implicit rules. I would like to keep it.

from cmake.

bast avatar bast commented on July 26, 2024

I think the implicit rules are cool to have there. Will it not work with having only "hello.x"? I know too little about the implicit rules but I fear confusion in this example.

from cmake.

bast avatar bast commented on July 26, 2024

Alternatively we can also switch everything else from hello.x to hello if that helps. But perhaps I simply don't get it :-)

from cmake.

blindij avatar blindij commented on July 26, 2024

You need the additonal rule which I add during the lesson to make it work for hello.x. Initially,I asked that question on Slack, but after having worked with example I understood why. The implicit rule is to make a binary from the stem part of hello.c, like this : %: %.c

from cmake.

bast avatar bast commented on July 26, 2024

OK but this to me is a bit confusing:

hello.x: hello.cpp
	g++ hello.cpp -o hello

I would expect g++ hello.cpp -o hello.x - this may make sense further down but at this point it surprised me.

from cmake.

blindij avatar blindij commented on July 26, 2024

You are right, I made an error here. It is g++ hello.cpp -o hello.x

from cmake.

bast avatar bast commented on July 26, 2024

Issue will go out of scope with #21.

from cmake.

bast avatar bast commented on July 26, 2024

Issue is not relevant anymore. Closing.

from cmake.

Related Issues (17)

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.