[Cmake] ADD_DEPENDENCIES

Alexandre Laoubi alexandre . laoubi at thales-is . com
Fri, 4 Jul 2003 10:33:35 +0200


This is a multi-part message in MIME format.

------=_NextPartTM-000-489c4fad-adf7-11d7-84ff-00306e1c2536
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0064_01C34217.B9281A40"

------=_NextPart_000_0064_01C34217.B9281A40
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

PROJECT(hello)
ADD_CUSTOM_TARGET(dummy1 ALL echo dummy1)
ADD_EXECUTABLE(hello hello.cxx)
ADD_DEPENDENCIES(hello dummy1)

Why theses instructions do not produce a Makefile where
hello.exe target depends on dummy1 target ?

Thanks.

------=_NextPart_000_0064_01C34217.B9281A40
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV>PROJECT(hello)<BR>ADD_CUSTOM_TARGET(dummy1 ALL echo=20
dummy1)<BR>ADD_EXECUTABLE(hello hello.cxx)<BR>ADD_DEPENDENCIES(hello=20
dummy1)<BR><BR>Why theses instructions do not produce a Makefile=20
where<BR>hello.exe target depends on dummy1 target=20
?<BR><BR>Thanks.</DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_0064_01C34217.B9281A40--


------=_NextPartTM-000-489c4fad-adf7-11d7-84ff-00306e1c2536--