[CMake] How to make executable depend on pre-existing controlfile?
Trevor Kellaway
tkellaway at asl-electronics.co.uk
Thu Apr 12 15:21:10 EDT 2007
i,
> > I'm try to get my link to depend on a pre-existing file
> that contains
> > linker segment information "link.prm".
> >
> > [snip]
> I guess you also have a custom command which generates this file ?
> Are you sure it's ${CMAKE_SOURCE_DIR}/link.prm and not
> ${CMAKE_BINARY_DIR}/link.prm ?
Nope, this is a hand crafted file (not generated) that contains
information about the embedded target memory layout etc. that the
embedded linker needs to read. So, "${CMAKE_SOURCE_DIR}/link.prm"
definitely exists.
> Is this cmake >= 2.4.3 ?
Latest and greatest "cmake-2.4.6-win32-x86"
- TrevK
More information about the CMake
mailing list