[CMake] CPACK_MONOLITHIC_INSTALL not handled at runtime?

Vladislav Vaintroub vvaintroub at googlemail.com
Mon Nov 15 08:09:05 EST 2010



> -----Original Message-----
> From: Eric Noulard [mailto:eric.noulard at gmail.com]
> Sent: Monday, November 15, 2010 8:19 AM
> To: Vladislav Vaintroub
> Cc: CMake ML
> Subject: Re: [CMake] CPACK_MONOLITHIC_INSTALL not handled at runtime?
> 
> 2010/11/14 Vladislav Vaintroub <vvaintroub at googlemail.com>:


> Even if it's possible I think it would be easier to think about
> "positive" logic than negative one.
> The better way to handle the 3-state case may be:
> CPACK_INSTALL_BEHAVIOR=MONOLITHIC | COMPONENT | DEFAUILT | <NoSet>
> 
> but historically they are more ON/OFF YES/NIO vars in CMake than
> multi-valued (enum) vars.

The primary reason I like BOOLs with CMake is cmake-gui. If it handled enums as nicely  as BOOLs, I would often  prefer enums:)

> Erk
> Membre de l'April - « promouvoir et défendre le logiciel libre » -
> http://www.april.org



More information about the CMake mailing list