SFML community forums

Help => General => Topic started by: PhiLLe on April 30, 2011, 04:35:02 pm

Title: Question about "make all"
Post 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?
Title: Question about "make all"
Post by: Nexus on April 30, 2011, 05:27:09 pm
Have you set the CMake variable BUILD_DOC to true?

By the way, "SFML website" is probably the wrong sub-forum ;)
Title: Question about "make all"
Post by: PhiLLe on April 30, 2011, 05:48:22 pm
I did. Thats not the problem.
My question is why do I have to do that:
Code: [Select]
make all
make doc

instead of
Code: [Select]
make all
To build everything.

When I don't set BUILD_DOC it's clear why it should not build the docs.
Title: Question about "make all"
Post by: Hiura on April 30, 2011, 08:21:23 pm
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).
Title: Question about "make all"
Post by: Laurent on May 01, 2011, 01:02:36 am
Quote
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.