[Cmake] bug in cmDSWWriter
Sebastien BARRE
sebastien at barre . nom . fr
Thu, 08 Nov 2001 10:31:56 -0500
cmDSWWriter does not seem to take into account custom targets that were
added with the ALL flag:
ADD_CUSTOM_TARGET(Name [ALL] command arg arg arg ...)
The ALL option is optional. If it is specified it indicates that this
target should be added to the build all target.
You can reproduce it by locally changing:
ADD_CUSTOM_TARGET(DoxygenDoc
to
ADD_CUSTOM_TARGET(DoxygenDoc ALL
in
CMake\Utilities\Doxygen\CMakeLists.txt
run Cmake.
In Cmake.dsw, look at:
Project: "ALL_BUILD"=.\ALL_BUILD.dsp - Package Owner=<4>
you won't see DoxygenDoc
It might have something to do with code in cmDSWWriter.cxx located below
that comment:
// if this is the special ALL_BUILD utility, then
// make it depend on every other non UTILITY project.
// This is done by adding the names to the GetUtilities
// vector on the makefile
Am I missing something ?