Hello,
We would like to document selected targets in our cmake file.
For example, the envisioned usage might look something like this:
mkdir build
cd build
cmake ..
make doc
This will then print out nicely formatted documentation, for example:
all Make everything
clean Clean up
foo Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
bar Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
blah Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
etc etc
Is there a way to do this, or something similar?
There are numerous targets, and we would like to make it easier for the user, without having to maintain a separate document describing all the targets.
We understand that make help
lists all of the targets, but this is not what we are looking for.
Thank you for your time.