Re: [CMake] Get errors when executing shell scripts in post_build process as custom targets

2011-11-29 Thread NoRulez
: Re: [CMake] Get errors when executing shell scripts in post_build process as custom targets The double quoting is wrong. Do this (no quotes necessary): COMMAND /usr/bin/macdeployqt ${BUNDLE_IDENTIFIER} Not this: COMMAND "/usr/bin/macdeployqt ${BUNDLE_IDENTIFIER}"

Re: [CMake] Get errors when executing shell scripts in post_build process as custom targets

2011-11-29 Thread David Cole
The double quoting is wrong. Do this (no quotes necessary): COMMAND /usr/bin/macdeployqt ${BUNDLE_IDENTIFIER} Not this: COMMAND "/usr/bin/macdeployqt ${BUNDLE_IDENTIFIER}" HTH, David On Tue, Nov 29, 2011 at 5:37 PM, NoRulez wrote: > Hi, > > > > I want to do something after the bundle i

[CMake] Get errors when executing shell scripts in post_build process as custom targets

2011-11-29 Thread NoRulez
Hi, I want to do something after the bundle is created (POST_BUILD). For this I tried the following: ADD_EXECUTABLE(...) TARGET_LINK_LIBRARIES(...) ADD_DEPENDECIES(...) IF (APPLE) SET(BUNDLE_IDENTIFIER "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${PROJECT_NAME}.app") ADD_C