[Cmake] ADD_DEFINITIONS can be target dependent?

ibiris at genius.org.br ibiris at genius.org.br
Tue Jul 20 11:29:27 EDT 2004





Greetings,

quick question about ADD_DEFINITIONS: can it be target dependent (a bunch
of definitions required for the compilation of a particular
executable/library target) but not for others that may exist in the same
CMakeLists.txt?

Am I right to say that to get separate ADD_DEFINITIONS for separate targes,
since there seems to be no support for target names in the syntax for
ADD_DEFINITIONS, would require listing targets and definitions inside IF
... ENDIF ?

thanks for your comments in advance

----
Ilias Biris, Ph.D.
ASR, Senior Researcher
Genius Instituto de Tecnologia
TEL: +55 (0)92 6146503
FAX: +55 (0)92 6133144
http://www.genius.org.br/
**************************************************************************************************

O conteúdo desse e-mail ou de seus anexos são confidenciais e restritos ao 
destinatário da mensagem.
Se você recebeu esse e-mail por engano, por favor notifique o remetente 
imediatamente e não faça cópias ou distribua seu conteúdo para ninguém.

**************************************************************************************************

The contents of this email and any attachments are confidential.
They are intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  the 
sender immediately and do not disclose the contents to anyone or make copies.

**************************************************************************************************


More information about the Cmake mailing list