Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How does Cons determine build dependencies?

0
Posted

How does Cons determine build dependencies?

0

Unlike Make, which requires that dependencies be listed explicitly in the Makefiles, Cons scans source files directly to determine the dependent files. This requires that Cons understand the dependency rules for a given language that it is building. For C and C++, Cons has efficient built-in scanning rules that use Perl’s regular expressions to search for #include lines. There is no native Cons support for other languages, but Cons offers a QuickScan feature that allows you to write a new dependency-scanning function and associated it with source files that require it. Consult the documentation for details on how to use QuickScan.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123