CMake/Tests/ObjectLibrary
Ben Boeckel ac8879ce91 Ninja: Add order-only dependencies to link commands (#14728)
A library or executable target that consists only of a reference to an
object library may have no sources to compile or custom commands to run.
The command in the target is the link (or archive) command.  Add missing
order-only dependencies to link commands so that target ordering
dependencies are satisfied for it without depending on an intermediate
compilation rule.

Extend the ObjectLibrary test to cover this case.

Co-Author: Brad King <brad.king@kitware.com>
2014-07-01 10:14:28 -04:00
..
A Whitelist target types in target_{include_directories,compile_definitions} 2013-02-08 19:21:30 +01:00
B Make sure INTERFACE properties work with OBJECT libraries. 2013-02-08 20:10:22 +01:00
ExportLanguages Make ExportLanguages a subtest of the ObjectLibrary test 2013-10-24 19:05:34 +02:00
AB.def
CMakeLists.txt Ninja: Add order-only dependencies to link commands (#14728) 2014-07-01 10:14:28 -04:00
c.c
dummy.c
dummy.obj
main.c
mainAB.c Make sure INTERFACE properties work with OBJECT libraries. 2013-02-08 20:10:22 +01:00