SFML community forums
Help => General => Topic started by: PhiLLe on April 30, 2011, 04:35:02 pm
-
Is there a reason why "make all" only creates targets that produce a binary?
Wouldn't it be useful to produce the doc target, too?
-
Have you set the CMake variable BUILD_DOC to true?
By the way, "SFML website" is probably the wrong sub-forum ;)
-
I did. Thats not the problem.
My question is why do I have to do that:
make all
make doc
instead of
make all
To build everything.
When I don't set BUILD_DOC it's clear why it should not build the docs.
-
When you do `make install` then the doc is also build and installed. This depends on CMake (see CMake's documentation about "install" and more specifically the "component" argument).
-
Is there a reason why "make all" only creates targets that produce a binary?
No, I think it's CMake that chooses and I don't know how to change that.