Re: [CMake] Signing individual binary and problem with PackageMaker CPack generator

2018-10-23 Thread Elvis Stansvik
Den tis 23 okt. 2018 kl 18:46 skrev Elvis Stansvik : > > Den tis 23 okt. 2018 kl 18:26 skrev Elvis Stansvik > : > > > > Just going to jump in here and show how we did it (on the bus with just my > > phone so will be a bit terse): > > > > packaging/InstallWindowsDeps.cmake: > > > > include(BundleUt

Re: [CMake] Signing individual binary and problem with PackageMaker CPack generator

2018-10-23 Thread Elvis Stansvik
Den tis 23 okt. 2018 kl 18:26 skrev Elvis Stansvik : > > Just going to jump in here and show how we did it (on the bus with just my > phone so will be a bit terse): > > packaging/InstallWindowsDeps.cmake: > > include(BundleUtilities) > > # Dependant executables/libraries > set(INSIGHT_ARTIFACTS >

Re: [CMake] Signing individual binary and problem with PackageMaker CPack generator

2018-10-23 Thread Elvis Stansvik
Just going to jump in here and show how we did it (on the bus with just my phone so will be a bit terse): packaging/InstallWindowsDeps.cmake: include(BundleUtilities) # Dependant executables/libraries set(INSIGHT_ARTIFACTS "${CMAKE_INSTALL_PREFIX}/orexplore-insight.exe" "${CMAKE_INSTALL_

Re: [CMake] Signing individual binary and problem with PackageMaker CPack generator

2018-10-23 Thread Anatoly Belyaev
I tried example like this set(test_SRC main.cpp) install(CODE "MESSAGE(\"CODE1\")") add_executable(test ${test_SRC}) install(TARGETS test DESTINATION ${CMAKE_INSTALL_BINDIR}) install(CODE "MESSAGE(\"CODE2\")") Then i checked cmake_install.cmake and "CODE1" cmd will be executed before strip comm

Re: [CMake] Signing individual binary and problem with PackageMaker CPack generator

2018-10-23 Thread Eric Noulard
Le mar. 23 oct. 2018 à 12:06, Craig Scott a écrit : > > > On Tue, Oct 23, 2018 at 4:43 PM Eric Noulard > wrote: > >> Le lun. 22 oct. 2018 à 23:05, Craig Scott a >> écrit : >> >>> Yes I agree that having build rpath is useful. I am not aware of any mechanism that enable calling some to

Re: [CMake] Signing individual binary and problem with PackageMaker CPack generator

2018-10-23 Thread Craig Scott
On Tue, Oct 23, 2018 at 4:43 PM Eric Noulard wrote: > Le lun. 22 oct. 2018 à 23:05, Craig Scott a > écrit : > >> >>> Yes I agree that having build rpath is useful. >>> I am not aware of any mechanism that enable calling some tool during >>> CPack's install step. >>> Moreover I don't use MacOS at

[CMake] Regarding creation of APK through CMake (CMakeAPK idea)

2018-10-23 Thread David Demelier
Hello, I'm currently experimenting Android development with CMake without using gradle, Android Studio, ant or anything else. The idea is to use Android's sdk-tools only (aapt, dx, zipalign, apksigner). The process isn't that hard but consists of several steps. The only real question is how