<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7233.69">
<TITLE>How to make executable depend on pre-existing control file?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I'm try to get my link to depend on a pre-existing file that contains linker segment information "link.prm".</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I thought that by just adding this to the executable dependency list this should work:</FONT>
</P>
<P> <FONT SIZE=2 FACE="Arial">ADD_EXECUTABLE (${THIS_APP} ${THIS_SRC} ${CMAKE_SOURCE_DIR}/link.prm)</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Alas, it seems to have no effect. The generated "build.make" contains no dependency references for "link.prm".</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Is this the correct way of doing this?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> - TrevK</FONT>
</P>
</BODY>
</HTML>