[llvm-commits] [llvm] r159588 - /llvm/trunk/test/CMakeLists.txt

NAKAMURA Takumi geek4civic at gmail.com
Tue Jul 3 02:49:50 PDT 2012


Chandler,

> +# Note, this is kept here rather than in the DEPENDS above because of bugs in
> +# some CMake versions that mishandle the dependency otherwise.
> +add_dependencies(check-llvm UnitTests)

I don't think it might be a bug.

http://www.cmake.org/cmake/help/v2.8.8/cmake.html#command:add_custom_target

> Dependencies listed with the DEPENDS argument may reference files and outputs of custom commands created with add_custom_command() in the same directory (CMakeLists.txt file).

DEPENDS on add_custom_target() would be useless if each dependency had
no output, I understand.
(This is why I took add_dependencies())

...Takumi



More information about the llvm-commits mailing list