Re: [CMake] Explanation of the CMake INSTALL and EXPORT Commands

2013-04-04 Thread Matthew Woehlke
On 2013-04-04 15:32, Saad Khattak wrote: Thanks for the very valuable info Matthew. If Project A is installed (to a standard location), then it is available system wide, yes. However you should still use find_package(A) rather than relying on e.g. target_link_libraries(B A) I tried to use fin

Re: [CMake] Explanation of the CMake INSTALL and EXPORT Commands

2013-04-04 Thread Saad Khattak
mode that can be installed in parallel I will follow your advice here and split up the configurations. Thank you, Saad Message: 2 > Date: Wed, 03 Apr 2013 17:12:43 -0400 > From: Matthew Woehlke > Subject: Re: [CMake] Explanation of the CMake INSTALL and EXPORT > Commands

Re: [CMake] Explanation of the CMake INSTALL and EXPORT Commands

2013-04-03 Thread Matthew Woehlke
On 2013-04-03 16:16, Saad Khattak wrote: I am having a hard time understanding some commands in CMake which by the looks of it are vital for proper project deployment. One of the commands is INSTALL and the other is EXPORT. There are two forms of EXPORT, and I am not certain which one you are

[CMake] Explanation of the CMake INSTALL and EXPORT Commands

2013-04-03 Thread Saad Khattak
Hi, I am having a hard time understanding some commands in CMake which by the looks of it are vital for proper project deployment. One of the commands is INSTALL and the other is EXPORT. I have read the following page many times: http://www.cmake.org/Wiki/CMake:Install_Commands. The article state