[CMake] 2.6.1 RC12 add_subdirectory(xxx EXCLUDE_FROM_ALL) problems

Ross, Thomas Thomas.Ross at rheinmetall.com
Fri Jul 25 10:56:23 EDT 2008


Hello List!

I was planning to switch a project from CMake 2.4.8 to CMake 2.6.1 when
it hits final and was trying out the newest RC12 to see if it works for
me so far.

So what am I doing...

I have an "add_subdirectory(3rdParty EXCLUDE_FROM_ALL)" in my main
CMakeLists.txt that generates a standalone Solution (using VS2005
Generator) in the 3rdParty subdirectory that needs to be compiled and
installed bevor the actual "Main Solution" can be build.

With CMake 2.4.8 everything was fine. The projects from 3rdParty didn't
show up in the main solution as expected.

Now with CMake 2.6.1 RC12 I get a few (_not_ all) projects from 3rdParty
in the main solution.

As it turns out the offending projects that show up in the main solution
are all libraries that are linked from projects inside the main
solution.

Is there anything I have to do different in the new CMake version or is
this a bug?

Thanks in advance
Thomas


-- 

Geschäftsführung/Management Board Rheinmetall Defence Electronics GmbH:
Dipl.-Wirtsch.-Ing. Georg Morawitz
Dipl.-Ing. Luitjen Ennenga
Dipl.-Ing.Ulrich Sasse
Sitz der Gesellschaft/Registered Office: Bremen
Register/Commercial Register: Amtsgericht Bremen, HRB 9659 


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

The statements contained in this message are not legally binding unless confirmed in writing.
This message may contain confidential information. If you are not the intended recipient, or if this message and its annexes contains information which is apparently not meant for you, please notify us immediately and - to the extent you are not the intended recipient - please delete this message and all its attachments from your system and destroy any copy made therefrom.
Any unauthorized review, delivery, distribution, transmission, storage, printing or otherwise making use of the message and its attachments are strictly prohibited.
In case your systems have been infected by virus or otherwise negatively affected by this message, we will not be liable for any damage resulting therefrom unless in case of gross negligence or wilful misconduct.



Geschäftsführung/Management Board Rheinmetall Technical Publications GmbH:
Dipl.-Ing. Jörg Daniel
Sitz der Gesellschaft/Registered Office: Bremen
Register/Commercial Register: Amtsgericht Bremen, HRB 24359 HB


-- 

Geschäftsführung/Management Board Rheinmetall Defence Electronics GmbH:
Dipl.-Wirtsch.-Ing. Georg Morawitz
Dipl.-Ing. Luitjen Ennenga
Dipl.-Ing.Ulrich Sasse
Sitz der Gesellschaft/Registered Office: Bremen
Register/Commercial Register: Amtsgericht Bremen, HRB 9659 


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

The statements contained in this message are not legally binding unless confirmed in writing.
This message may contain confidential information. If you are not the intended recipient, or if this message and its annexes contains information which is apparently not meant for you, please notify us immediately and - to the extent you are not the intended recipient - please delete this message and all its attachments from your system and destroy any copy made therefrom.
Any unauthorized review, delivery, distribution, transmission, storage, printing or otherwise making use of the message and its attachments are strictly prohibited.
In case your systems have been infected by virus or otherwise negatively affected by this message, we will not be liable for any damage resulting therefrom unless in case of gross negligence or wilful misconduct.



Geschäftsführung/Management Board Rheinmetall Technical Publications GmbH:
Dipl.-Ing. Jörg Daniel
Sitz der Gesellschaft/Registered Office: Bremen
Register/Commercial Register: Amtsgericht Bremen, HRB 24359 HB



More information about the CMake mailing list