Tron Thomas wrote:
I tried that originally, and it does not work. When add_executable is used to create an application bundle on MacOS X, it does not simple build an executable program. It creates an entire directory structure that bundles up the exectuable. CTest does not seem to understand how to deal with this bundle; it expects a runnable executable as the name for the second argument to add_test.


I thought we had implemented that....

Can you create a bug entry?

Another thing you could try is this:

get_target_property(myBundle LOCATION EXE_LOCATION)

Then use ${EXE_LOCATION} for the executable.

-Bill

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to