[CMake] behaviour change with SET SOURCE FILES PROPERTIES( OBJECT
DEPENDS)
Alexander Neundorf
a.neundorf-work at gmx.net
Sat Jul 9 04:21:32 EDT 2005
Hi,
please try the attached test case.
The problem here is (actually the same as the previous problems with
CONFIGURE_FILE and ADD_CUSTOM_COMMAND) that the working directory of make
with the new makefile generator has changed and so all relative paths work
differently.
This is also the case for
in src/foo/:
SET_SOURCE_FILES_PROPERTIES(main.c PROPERTIES OBJECT_DEPENDS foo.h)
This generates the rule
foo/main.c : foo.h
which should better be:
foo/main.c: foo/foo.h
I can work around it by prepending ${CMAKE_CURRENT_SOURCE_DIR}, but it
worked with previous versions of the makefile generator.
Bye
Alex
--
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake-objdep-1.tar.gz
Type: application/gzip
Size: 440 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20050709/69ff631e/cmake-objdep-1.tar.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake-objdep-1.tar.gz
Type: application/gzip
Size: 440 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20050709/69ff631e/cmake-objdep-1.tar-0001.bin
More information about the CMake
mailing list