Re: [CMake] MACOSX_BUNDLE targets fail as custom target dependencies

2008-05-27 Thread Maik Beckmann
Am Dienstag 27 Mai 2008 15:56:14 schrieb Brad King: > Allan Odgaard wrote: > > project(foo) > > add_executable(foo MACOSX_BUNDLE main.cc) > > add_custom_target(run_foo echo running foo DEPENDS foo) [snip] > > Without the MACOSX_BUNDLE setting of the target, or trying to build the > > sa

Re: [CMake] MACOSX_BUNDLE targets fail as custom target dependencies

2008-05-27 Thread Brad King
Allan Odgaard wrote: > I have the following CMakeLists.txt file: > > project(foo) > add_executable(foo MACOSX_BUNDLE main.cc) > add_custom_target(run_foo echo running foo DEPENDS foo) > > This is what I get (Mac OS X Leopard, CMake 2.6.0 and 2.7 from CVS): > > % make run_foo >

[CMake] MACOSX_BUNDLE targets fail as custom target dependencies

2008-05-25 Thread Allan Odgaard
I have the following CMakeLists.txt file: project(foo) add_executable(foo MACOSX_BUNDLE main.cc) add_custom_target(run_foo echo running foo DEPENDS foo) This is what I get (Mac OS X Leopard, CMake 2.6.0 and 2.7 from CVS): % make run_foo Scanning dependencies of target foo