GithubHelp home page GithubHelp logo

Comments (5)

grisumbras avatar grisumbras commented on May 18, 2024

Figured out the source of the problem. I should have imported the module. This is missing from documentation, though. I can provide a patch.

from build.

vprus avatar vprus commented on May 18, 2024

Yep, patch or pull request for docs will be helpful.

Thanks,

On Пт, 20 марта 2015 at 21:07 Dmitry [email protected] wrote:

Figured out the source of the problem. I should have imported the module.
This is missing from documentation, though. I can provide a patch.


Reply to this email directly or view it on GitHub
#65 (comment).

from build.

grisumbras avatar grisumbras commented on May 18, 2024

It turns out, using just plain import my_module ; does not work. It does allow invocation of rules from the module, but it also tries to load my_module.jam. I did not notice that at first, because I created my_module.jam while I tried to solve the problem. So, loading fails (with an error message) without the file, but everything else works, due to IMPORT_MODULE builtin rule used in import implementation. In the end, I tried IMPORT_MODULE my_module ; and it works, but IMPORT_MODULE is not documented (as far as I see).

So, I think IMPORT_MODULE should also be documented.

from build.

swatanabe avatar swatanabe commented on May 18, 2024

AMDG

On 03/20/2015 03:06 PM, Dmitry wrote:

It turns out, using just plain import my_module ; does not work. It does allow invocation of rules from the module, but it also tries to load my_module.jam. I did not notice that at first, because I created my_module.jam while I tried to solve the problem. So, loading fails (with an error message) without the file, but everything else works, due to IMPORT_MODULE builtin rule used in import implementation. In the end, I tried IMPORT_MODULE my_module ; and it works, but IMPORT_MODULE is not documented (as far as I see).

So, I think IMPORT_MODULE should also be documented.

Agreed, but you should generally use import with
a separate file instead of using "module" directly.

In Christ,
Steven Watanabe

from build.

grisumbras avatar grisumbras commented on May 18, 2024

I understand that. My point was that an example from the official manual does not work. I think that incomplete (and as it turns out even incorrect in some places) documentation is the largest problem of Boost.Build. Maybe maintainers could provide me with a guideline on what parts of documentation need contribution the most?
P.S. PR for this particular issue is on way.

from build.

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.