Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Question about "make all"  (Read 1615 times)

0 Members and 1 Guest are viewing this topic.

PhiLLe

  • Newbie
  • *
  • Posts: 36
    • View Profile
Question about "make all"
« 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?

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6282
  • Thor Developer
    • View Profile
    • Bromeon
Question about "make all"
« Reply #1 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 ;)
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

PhiLLe

  • Newbie
  • *
  • Posts: 36
    • View Profile
Question about "make all"
« Reply #2 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.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Question about "make all"
« Reply #3 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).
SFML / OS X developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Question about "make all"
« Reply #4 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.
Laurent Gomila - SFML developer