Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on CFG_EXTRAS is misleading #845

Closed
mathias-luedtke opened this issue Jan 8, 2017 · 2 comments
Closed

Documentation on CFG_EXTRAS is misleading #845

mathias-luedtke opened this issue Jan 8, 2017 · 2 comments

Comments

@mathias-luedtke
Copy link
Contributor

The CMake API documentation on CFG_EXTRAS (web version) is misleading as it implies that the template extension should be added to the listed filename.
However only the basename with cmake extension must be listed, as the template extension is detected automatically.
Even worse: If the template extension is given in CFG_EXTRAS the file will be used directly without template expansion!

The documentation should cover this auto-detect feature.
In addition files with extensions should be handled properly or trigger an error.

@dirk-thomas
Copy link
Member

Thank you for bringing this up. Can you please propose an update / addition which clarifies this so that it becomes clear to you how the argument works.

@dirk-thomas
Copy link
Member

I will close this for now since it is unclear what change would satisfy the request to "clarify" the existing documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants