Re: [CMake] target dependency in subdirectory not found

2011-12-13 Thread Michael Hertling
On 12/12/2011 08:42 PM, Jos van den Oever wrote: I'm trying to get get CMake to do the equivalent from this Makefile. I'm using cp in this simple example, but want to use different commands in my project. ==Makefile== srcdir=.. hij: a/efg cp a/efg hij a/efg: $(srcdir)/a/abc

[CMake] target dependency in subdirectory not found

2011-12-12 Thread Jos van den Oever
I'm trying to get get CMake to do the equivalent from this Makefile. I'm using cp in this simple example, but want to use different commands in my project. ==Makefile== srcdir=.. hij: a/efg cp a/efg hij a/efg: $(srcdir)/a/abc -mkdir a cp $(srcdir)/a/abc a/efg == For this I