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 Test OBJECT library use without other sources 2012-03-16 10:12:30 -04:00
CMakeLists.txt Ninja: Add order-only dependencies to link commands (#14728) 2014-07-01 10:14:28 -04:00
c.c Test OBJECT library success cases 2012-03-16 10:12:30 -04:00
dummy.c Test OBJECT library use without other sources 2012-03-16 10:12:30 -04:00
dummy.obj Test OBJECT library use without other sources 2012-03-16 10:12:30 -04:00
main.c Test OBJECT library success cases 2012-03-16 10:12:30 -04:00
mainAB.c Make sure INTERFACE properties work with OBJECT libraries. 2013-02-08 20:10:22 +01:00