Brad King
f500a784d0
Fix crash on $<TARGET_PROPERTY:...,LOCATION> genex ( #16134 )
...
Policy CMP0026 deprecated the LOCATION property, and we have long
provided a $<TARGET_FILE:...> generator expression. However, if
a project tries to use $<TARGET_PROPERTY:...,LOCATION> we should
at least not crash.
The compatibility implementation of the LOCATION property uses
cmGlobalGenerator::CreateGenerationObjects to create the structures
needed to evaluate the property before generation starts. The
implementation assumed that accessing the property could only be done
during configuration (via the typical get_property command use case).
The $<TARGET_PROPERTY:...,LOCATION> genex causes the LOCATION property
to be accessed during generation. Calling CreateGenerationObjects
during generation blows away all the objects currently being used for
generation and is not safe. Add a condition to call it only when
configuration is not finished.
2016-06-02 10:58:38 -04:00
..
2012-10-20 14:23:47 +02:00
2012-10-20 14:23:47 +02:00
2012-08-15 11:44:49 -04:00
2014-01-07 09:38:01 -05:00
2014-01-07 09:38:01 -05:00
2013-01-31 17:27:06 +01:00
2013-01-31 17:27:06 +01:00
2013-01-31 17:27:06 +01:00
2012-10-09 08:26:43 -04:00
2012-09-18 17:02:23 -04:00
2012-10-20 14:23:47 +02:00
2012-10-20 14:23:47 +02:00
2015-09-28 10:37:33 -04:00
2015-09-28 10:37:33 -04:00
2015-09-28 10:37:33 -04:00
2012-10-09 08:26:43 -04:00
2012-10-09 08:26:43 -04:00
2012-10-09 08:26:43 -04:00
2013-01-05 01:05:09 +01:00
2013-01-05 01:05:09 +01:00
2013-01-05 01:05:09 +01:00
2015-05-26 11:53:36 -04:00
2015-05-26 11:53:36 -04:00
2015-05-26 11:53:36 -04:00
2013-11-01 10:17:01 -04:00
2013-11-01 10:17:01 -04:00
2013-11-01 10:17:01 -04:00
2012-11-27 09:12:39 -05:00
2012-11-27 09:12:39 -05:00
2012-11-27 09:12:39 -05:00
2013-08-13 09:50:15 -04:00
2014-01-08 16:41:34 +01:00
2014-01-08 16:41:34 +01:00
2014-01-08 16:41:34 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-07 13:19:45 +01:00
2015-03-09 20:48:57 +01:00
2015-03-09 20:48:57 +01:00
2015-03-09 20:48:57 +01:00
2013-11-01 10:17:01 -04:00
2015-08-06 09:42:31 -04:00
2015-08-06 09:42:31 -04:00
2015-08-06 09:42:31 -04:00
2014-07-31 09:17:53 -04:00
2014-07-31 09:17:53 -04:00
2014-07-31 09:17:53 -04:00
2014-05-29 11:29:31 +02:00
2014-05-29 11:29:31 +02:00
2014-05-29 11:29:31 +02:00
2014-05-29 11:29:31 +02:00
2014-05-29 11:29:31 +02:00
2014-05-29 11:29:31 +02:00
2014-05-29 11:29:31 +02:00
2014-05-29 11:29:31 +02:00
2014-05-29 11:29:31 +02:00
2014-05-29 11:29:31 +02:00
2014-05-29 11:29:31 +02:00
2014-05-29 11:29:31 +02:00
2014-07-31 09:17:53 -04:00
2014-07-31 09:17:53 -04:00
2014-07-31 09:17:53 -04:00
2014-05-29 11:29:31 +02:00
2014-05-29 11:29:31 +02:00
2014-05-29 11:29:31 +02:00
2014-05-29 11:29:31 +02:00
2014-05-29 11:29:31 +02:00
2014-05-29 11:29:31 +02:00
2015-08-20 09:56:45 -04:00
2015-08-20 09:56:45 -04:00
2015-08-20 09:56:45 -04:00
2016-06-02 10:58:38 -04:00
2015-08-12 13:43:00 -04:00
2015-08-12 13:43:00 -04:00
2015-08-20 09:56:45 -04:00
2016-06-02 10:58:38 -04:00
2016-06-02 10:58:38 -04:00
2015-01-08 20:56:51 -07:00
2014-07-31 09:17:53 -04:00