[CMake] fixup_bundle

Tim Blechmann tim at klingt.org
Wed Feb 9 09:53:09 EST 2011


hi all,

i am currently trying to adapt a cmake build system to build an osx app.

the specific code is:
INSTALL(CODE "
   include(BundleUtilities)
   fixup_bundle(\"${CMAKE_CURRENT_BINARY_DIR}/${myappbundlename}.app\"   \"\"   
\"${CMAKE_CURRENT_BINARY_DIR}\")
   "
COMPONENT Runtime)

however it doesn't seem to work correctly, the verification of the app fails:
error: verify_app failed

since i don't have access to an osx machine and i have little knowledge about 
the osx toolchain in general, what is the exact semantics of fixup_bundle? 
especially, what is the purpose of the <libs> and <dirs> arguments and where 
should they point to?

thanks, tim

-- 
tim at klingt.org
http://tim.klingt.org

The price an artist pays for doing what he wants is that he has to do
it.
  William S. Burroughs




More information about the CMake mailing list