Brad King
c83a834d29
try_compile: Allow only languages loaded in caller ( #11469 )
...
During a try_compile cmGlobalGenerator::EnableLanguage uses results from
the outer project. Reject attempts to enable languages in the test
project that are not "ready" in the outer project. Mark a language as
"ready" when all its information has been loaded and we are ready to
generate build rules.
This also avoids infinite recursion introduced by commit 295b5b60 (Honor
CMAKE_USER_MAKE_RULES_OVERRIDE in try_compile, 2010-06-29) for projects
that set CMAKE_USER_MAKE_RULES_OVERRIDE to a file that uses try_compile.
The file is loaded along with the information for a given langauge so
the language is not yet "ready".
2011-01-24 10:00:45 -05:00
..
2010-06-04 14:32:08 -04:00
2010-06-24 10:41:20 -04:00
2010-06-28 00:10:23 -04:00
2010-05-19 15:40:48 -06:00
2009-12-08 15:43:55 -05:00
2009-12-08 15:43:55 -05:00
2009-12-10 15:37:04 -05:00
2010-06-22 09:59:20 -04:00
2009-12-08 09:38:36 -05:00
2010-06-10 15:22:40 -04:00
2009-11-24 20:13:29 -05:00
2010-04-23 10:01:49 -04:00
2009-12-04 12:09:01 -05:00
2009-12-04 12:09:01 -05:00
2010-01-13 13:49:08 -05:00
2010-04-23 09:50:02 -04:00
2010-04-23 09:50:02 -04:00
2010-04-23 09:50:31 -04:00
2010-04-27 21:40:17 +02:00
2010-03-26 09:33:28 -04:00
2011-01-20 08:08:47 -05:00
2010-03-19 09:09:02 -04:00
2010-03-19 09:09:02 -04:00
2010-01-04 10:18:44 -05:00
2010-05-08 10:10:19 +02:00
2009-11-24 11:46:06 -05:00
2010-03-01 08:51:20 -05:00
2010-05-12 10:22:55 -04:00
2011-01-20 07:35:00 -05:00
2010-05-12 10:41:06 -04:00
2010-03-15 14:53:12 -04:00
2010-04-19 18:32:10 +02:00
2009-12-23 13:56:01 -05:00
2010-06-07 14:30:33 -04:00
2010-05-27 12:21:56 -04:00
2010-05-01 20:38:28 +02:00
2010-05-01 20:38:28 +02:00
2010-05-08 09:27:48 +02:00
2011-01-24 10:00:45 -05:00
2011-01-24 10:00:45 -05:00
2010-01-08 13:31:37 -05:00
2009-12-23 13:51:46 -05:00
2009-11-20 11:55:28 -05:00
2009-11-20 11:55:28 -05:00
2010-06-17 17:12:57 -04:00
2009-11-20 11:55:28 -05:00
2009-11-20 11:55:28 -05:00
2009-11-20 11:55:28 -05:00
2009-11-20 11:55:28 -05:00
2009-11-20 11:55:28 -05:00
2009-11-20 11:55:28 -05:00
2009-11-18 15:50:29 -05:00
2009-11-23 14:09:24 -05:00
2009-11-20 11:55:28 -05:00
2010-05-05 17:08:06 -04:00
2009-12-04 12:09:01 -05:00
2010-05-28 13:23:31 -04:00
2009-12-04 12:09:01 -05:00
2010-05-08 09:27:48 +02:00
2009-11-24 11:16:38 -05:00
2009-11-24 11:16:38 -05:00
2010-06-15 13:58:58 -04:00
2010-06-15 13:58:58 -04:00
2010-06-03 13:43:39 -04:00
2010-05-28 11:09:10 -04:00
2010-06-23 16:39:28 -04:00
2010-04-02 14:09:06 -04:00
2011-01-24 10:00:45 -05:00
2010-04-26 14:22:51 -04:00
2010-05-01 20:38:28 +02:00
2010-05-28 11:09:10 -04:00
2010-06-15 14:03:26 -04:00
2010-04-23 09:50:31 -04:00
2010-04-23 09:50:31 -04:00
2010-06-23 09:14:43 -04:00
2010-06-23 09:14:43 -04:00
2010-06-09 13:18:42 -04:00
2010-06-09 13:18:42 -04:00
2009-12-17 14:34:47 -05:00
2010-04-09 21:40:59 +02:00
2010-06-10 15:22:40 -04:00
2010-06-10 15:22:40 -04:00
2010-06-04 14:32:08 -04:00
2010-06-04 14:32:08 -04:00
2010-05-28 11:09:10 -04:00
2010-03-02 15:38:02 -05:00
2010-04-23 09:44:23 -04:00
2010-04-23 09:44:23 -04:00
2010-04-23 09:44:23 -04:00
2010-04-23 09:44:23 -04:00
2010-06-11 15:44:55 -04:00
2010-06-11 15:44:55 -04:00
2010-05-05 17:13:21 -04:00
2010-06-03 11:18:39 -04:00
2009-12-08 15:43:55 -05:00
2010-03-17 11:04:13 -04:00