[CMake] Supressing Make, but not Generators

Hendrik Sattler post at hendrik-sattler.de
Wed Mar 3 03:21:07 EST 2010


Zitat von "Smith Jack (Ext. - UGIS - UniCredit Group)"  
<jack.smith.extern at unicreditgroup.de>:
>
> It's worryingly quiet on this subject.

So, just exclude the target that won't build from ALL.

>> -----Original Message-----
>> From: cmake-bounces at cmake.org
>> [mailto:cmake-bounces at cmake.org] On Behalf Of Smith Jack
>> (Ext. - UGIS - UniCredit Group)
>> Sent: Tuesday, March 02, 2010 6:31 PM
>> To: cmake at cmake.org
>> Subject: [CMake] Supressing Make, but not Generators
>>
>>
>> I have the following scenario:
>>
>> I have a large project with several sub-projects.
>>
>> I always want CMake run Visual Studio/Nmake/Eclipse specific
>> generators for all the sub-projects so that I may edit any
>> sub-project in my IDE of choice on the platform of choice.
>>
>> BUT when Make (Gmake, Nmake, etc.) is run, to have platform
>> detection occur since some of the sub-projects won't build on
>> all platforms.
>>
>> Is this possible ?
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at:
>> http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at   
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:   
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
>





More information about the CMake mailing list