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
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
>
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