[CMake] CPack OS X bundle : generator expression for CPACK_BUNDLE_STARTUP_COMMAND

2017-11-28 Thread Nicholas Yue
I am using CMake 3.10 I can't seems to find a way to tell the OS X bundle where to find the compiled binary. I get the following errors: Run CPack packaging tool... CPack: Create package using Bundle CPack: Install projects CPack: - Run preinstall target for: OSXBundle CPack: - Install project:

Re: [CMake] CPack OS X bundle : generator expression for CPACK_BUNDLE_STARTUP_COMMAND

2017-11-28 Thread Oleksii Vilchanskyi
Hi, `set()` is evaluated at configuration time and as of CMake 3.10 does not accept genexps. You can refer to this diagram for better understanding of the general CMake pipeline: Therefore, > SET ( APP_LOCATION "$" ) > SE