Re: [CMake] CPack install 3rd party shared libraries

2017-07-19 Thread Elvis Stansvik
2017-07-19 20:56 GMT+02:00 Roman Wüger : > Sorry for the MailingList thing, it was a reply mistake. > > > > So, here is the complete output: > > > > CPack: Enable Verbose > > CPack Verbose: Read CPack config file: > > CPack Verbose: Read CPack configuration file: >

[Cmake-commits] CMake branch, master, updated. v3.9.0-321-gf6a85bd

2017-07-19 Thread Kitware Robot
_VERSION_MINOR 9) -set(CMake_VERSION_PATCH 20170719) +set(CMake_VERSION_PATCH 20170720) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/

Re: [CMake] file(COPY) is copying even if file hasn't changed

2017-07-19 Thread Robert Dailey
Oh also file(INSTALL) does the same thing; the "Installing:" message gets printed each time for the same file, and never says that it is "up to date". On Wed, Jul 19, 2017 at 4:04 PM, Robert Dailey wrote: > According to the documentation for file(COPY) [1]: "Copying

[CMake] file(COPY) is copying even if file hasn't changed

2017-07-19 Thread Robert Dailey
According to the documentation for file(COPY) [1]: "Copying preserves input file timestamps, and optimizes out a file if it exists at the destination with the same timestamp" However this is not the case. My host OS is Windows 10 and I'm using CMake 3.9.0-rc5. Each time my CMakeLists.txt is run,

[CMake] How to do platform specific setup?

2017-07-19 Thread Robert Dailey
So in one of my top level CMake scripts, I have this: ``` if( ANDROID ) include( android ) _setup_android_platform() elseif( UNIX ) include( unix ) _setup_unix_platform() endif() if( CMAKE_CXX_COMPILER_ID STREQUAL "Clang" ) include( clang ) _setup_clang_toolchain()

Re: [CMake] CPack install 3rd party shared libraries

2017-07-19 Thread Roman Wüger
Sorry for the MailingList thing, it was a reply mistake. So, here is the complete output: CPack: Enable Verbose CPack Verbose: Read CPack config file: CPack Verbose: Read CPack configuration file: /home/rowu/MyPackage/CPackConfig.cmake CPack Verbose: Specified generator: DEB CPack

Re: [CMake] CPack install 3rd party shared libraries

2017-07-19 Thread Elvis Stansvik
(Adding the mailing list back to the list of recepients - It's always good to keep the discussion on the list) 2017-07-19 19:30 GMT+02:00 Roman Wüger : > Hello Elvis, > > I tried you solution, but I get always the message: > > CMake Error at >

Re: [CMake] CPack install 3rd party shared libraries

2017-07-19 Thread Roman Wüger
Thank you Elvis for the awesome example. Best Regards Roman -Ursprüngliche Nachricht- Von: Elvis Stansvik [mailto:elvis.stans...@orexplore.com] Gesendet: Mittwoch, 19. Juli 2017 16:51 An: David Cole Cc: Roman Wüger ; CMake MailingList

Re: [CMake] CPack install 3rd party shared libraries

2017-07-19 Thread Elvis Stansvik
2017-07-19 16:42 GMT+02:00 David Cole : > Very nice example. Does CMake have a place to put examples like VTK > does...? If so, where is it? And if not, it would be super useful to > start one somewhere "official." I guess the wiki is for that? Though I think my example should be

Re: [cmake-developers] [CMake] CPack install 3rd party shared libraries

2017-07-19 Thread David Cole via cmake-developers
Very nice example. Does CMake have a place to put examples like VTK does...? If so, where is it? And if not, it would be super useful to start one somewhere "official." However, one word of caution on the example. I know it was targeted at Linux, and perhaps for a very simple case it's proper,

Re: [CMake] CPack install 3rd party shared libraries

2017-07-19 Thread David Cole via CMake
Very nice example. Does CMake have a place to put examples like VTK does...? If so, where is it? And if not, it would be super useful to start one somewhere "official." However, one word of caution on the example. I know it was targeted at Linux, and perhaps for a very simple case it's proper,

Re: [CMake] CPack install 3rd party shared libraries

2017-07-19 Thread Elvis Stansvik
2017-07-19 15:57 GMT+02:00 Elvis Stansvik : > 2017-07-19 13:42 GMT+02:00 Roman Wüger : >> The problem with BundleUtilities which Inder is that it doesn't support >> generator expressions. >> >> Maybe I do something wrong? >> But I need to specify

Re: [CMake] CPack install 3rd party shared libraries

2017-07-19 Thread Elvis Stansvik
2017-07-19 13:42 GMT+02:00 Roman Wüger : > The problem with BundleUtilities which Inder is that it doesn't support > generator expressions. > > Maybe I do something wrong? > But I need to specify the path to the executable (generator expression) and > the paths where to look

Re: [cmake-developers] [CMake] CPack install 3rd party shared libraries

2017-07-19 Thread Roman Wüger
The problem with BundleUtilities which Inder is that it doesn't support generator expressions. Maybe I do something wrong? But I need to specify the path to the executable (generator expression) and the paths where to look for dependencies. Right? Please, could you give me a hint? Regards

Re: [CMake] CPack install 3rd party shared libraries

2017-07-19 Thread Roman Wüger
The problem with BundleUtilities which Inder is that it doesn't support generator expressions. Maybe I do something wrong? But I need to specify the path to the executable (generator expression) and the paths where to look for dependencies. Right? Please, could you give me a hint? Regards

Re: [CMake] CPack install 3rd party shared libraries

2017-07-19 Thread Elvis Stansvik
2017-07-19 10:24 GMT+02:00 Roman Wüger : > Hello, > > I have a project which depends on a self compiled 3rd party project (boost) > Boost is here only an example, there are other 3rd party libraries too. > > If I call the "install" command on the target, then it would be

[CMake] How to properly use AUTOGEN_BUILD_DIR property?

2017-07-19 Thread Volker Enderlein
Hi, our project contains lots of autogenerated Qt files and when reading the 3.9 Release notes I was very excited about the new AUTOGEN_BUILD_DIR property to speed up the build times (for constantly bulding debug and release versions in case nothing has changed). But it seems I cannot get

[CMake] CPack install 3rd party shared libraries

2017-07-19 Thread Roman Wüger
Hello, I have a project which depends on a self compiled 3rd party project (boost) Boost is here only an example, there are other 3rd party libraries too. If I call the "install" command on the target, then it would be packaged. But how could I add the shared libraries and especially the links

[cmake-developers] CPack install 3rd party shared libraries

2017-07-19 Thread Roman Wüger
Hello, I have a project which depends on a self compiled 3rd party project (boost) Boost is here only an example, there are other 3rd party libraries too. If I call the "install" command on the target, then it would be packaged. But how could I add the shared libraries and especially the links

Re: [CMake] Transitive behavior of target_link_libraries between shared/static

2017-07-19 Thread Eric Noulard
2017-07-18 19:15 GMT+02:00 Hendrik Sattler : > > > Am 18. Juli 2017 18:02:40 MESZ schrieb Eric Noulard < > eric.noul...@gmail.com>: > >2017-07-17 17:31 GMT+02:00 Robert Dailey : > > > >> Suppose I have the following: > >> > >> ``` > >>