Arha Gatram
86759dce81
enable_language: add support for usage in subdirectories
...
Propagates variables set in enable_language() logic up variable scopes
so that the language can be used by targets in the ancestor directories.
Works through block() and function() scopes as well. The
add_subdirectory() call can be thought of as the effective call site for
enabling the language. The same holds for endblock() and the actual
function call.
Adds a policy CMP0220 to control this behavior. As the language is
"enabled" at each ancestor scope, the policy is checked. If OLD, the
language is not enabled at this scope and the ones above.
Closes : #27881 #27508 #27389
Related: #26751 #27564
2026-08-07 11:05:57 -04:00
..
2026-07-28 11:38:20 -04:00
2026-07-28 11:38:20 -04:00
2026-07-28 11:38:20 -04:00
2026-07-27 17:42:22 +02:00
2026-02-13 12:54:37 -05:00
2026-07-28 11:38:20 -04:00
2026-07-08 11:51:51 -04:00
2026-07-10 17:01:49 -07:00
2026-07-10 17:01:49 -07:00
2026-07-28 11:38:20 -04:00
2024-06-04 16:58:54 +02:00
2026-06-30 11:31:35 -04:00
2026-03-18 14:32:21 -04:00
2026-03-31 12:56:16 -04:00
2026-03-19 11:29:44 -04:00
2026-02-11 11:56:05 -05:00
2026-06-10 15:19:41 -04:00
2026-07-22 14:39:00 -04:00
2025-12-02 15:25:47 -05:00
2026-06-01 18:06:25 -04:00
2026-04-20 10:50:31 -04:00
2025-03-14 15:17:27 -04:00
2025-12-02 15:25:47 -05:00
2026-02-13 12:54:37 -05:00
2026-03-26 10:36:22 -04:00
2026-05-29 11:40:47 -04:00
2026-05-29 11:40:47 -04:00
2026-04-13 14:32:01 -04:00
2026-04-13 14:32:01 -04:00
2026-07-24 21:27:58 +02:00
2026-04-13 14:32:01 -04:00
2026-04-13 14:32:01 -04:00
2026-04-13 14:32:01 -04:00
2026-04-13 14:32:01 -04:00
2026-06-03 10:45:42 -04:00
2026-07-24 21:27:58 +02:00
2026-05-12 13:45:00 +02:00
2026-04-13 14:32:01 -04:00
2026-02-13 12:54:37 -05:00
2026-06-04 11:46:51 -04:00
2025-01-28 03:01:23 +01:00
2026-08-07 11:05:57 -04:00
2026-02-04 17:32:54 +01:00
2025-04-17 01:02:47 +02:00
2026-03-12 19:17:24 +01:00
2026-06-15 14:40:26 -04:00
2026-06-24 18:49:51 +03:00
2026-02-13 12:54:37 -05:00
2026-02-13 12:54:37 -05:00
2026-03-18 17:36:20 -04:00
2026-02-13 12:54:37 -05:00
2026-02-13 12:54:37 -05:00
2025-01-31 12:23:29 -05:00
2025-08-13 16:29:18 -04:00
2026-06-15 10:54:48 -07:00
2024-01-05 15:37:39 +11:00
2026-01-15 20:30:17 -05:00
2026-01-27 18:15:26 +01:00
2024-01-05 17:40:16 +11:00
2024-01-05 17:40:16 +11:00
2024-01-05 17:40:16 +11:00
2026-06-16 15:14:13 -04:00
2026-07-28 11:38:20 -04:00
2024-09-25 07:24:32 -04:00
2025-01-31 12:23:29 -05:00
2026-03-18 14:32:21 -04:00
2026-07-27 09:01:37 -04:00
2025-06-12 21:25:24 +02:00
2026-07-28 11:38:20 -04:00
2026-05-12 12:30:43 -07:00
2025-01-28 15:22:29 +01:00
2025-01-31 12:23:29 -05:00
2026-02-02 10:36:59 -05:00
2026-07-15 11:40:07 -04:00
2026-05-07 11:07:27 -04:00
2025-05-12 21:10:29 +02:00
2026-04-22 14:35:04 -04:00
2025-05-28 11:11:20 -04:00
2025-10-21 22:23:15 +02:00
2024-02-15 10:42:25 -05:00
2025-01-31 12:23:29 -05:00
2024-01-05 15:31:39 +11:00
2026-07-07 07:32:27 -07:00
2025-01-31 12:23:29 -05:00
2026-07-07 07:32:27 -07:00
2024-01-05 16:45:27 +11:00
2025-08-04 20:46:23 +02:00
2026-07-27 09:01:37 -04:00
2026-07-10 14:34:10 -04:00
2025-01-31 12:23:29 -05:00
2026-07-08 11:51:50 -04:00
2026-07-08 11:51:50 -04:00
2026-07-08 11:51:50 -04:00
2026-07-08 11:51:50 -04:00
2026-07-08 11:51:50 -04:00
2026-07-08 11:51:50 -04:00
2026-07-08 11:51:50 -04:00
2026-07-08 11:51:50 -04:00
2026-07-27 09:01:37 -04:00
2026-02-13 12:54:37 -05:00
2026-02-13 12:54:37 -05:00
2025-08-04 20:46:23 +02:00