[cmake-developers] compile_feature test results

Brad King brad.king at kitware.com
Tue Nov 12 10:23:51 EST 2013


On 11/12/2013 09:40 AM, Brad King wrote:
> The compile feature tests are basically doing the same kind of tests
> as the compiler id, so the same approach should work.

Note that the Modules/CompilerId/* project files do have some content
specific to the compiler id step.  Therefore a separate set should
be used for this feature.

I suggest the following steps:

1. Revert the target_compile_features topic until this is resolved.

2. Create a new topic that adds a *test* in which you build the
   new infrastructure.  (This way all the trial and error will be
   isolated to a single test and other topics can proceed without
   interference.)

3. Once the test works everywhere, the actual infrastructure can
   be ported over to the Modules directory and the test can just
   exercise it.

4. Rebuild target_compile_features using this new run-compiler
   feature.

-Brad



More information about the cmake-developers mailing list