Re: [CMake] Adding external executable

2012-11-09 Thread Manoj Vaghela
Hi Eric, David, Thanks for your valuable suggestions. I am right now copying Qt libraries (libQtCore, libQtGui, libQtOpenGL) manually using INSTALL( FILE ... ) command. I installed latest version of CMake which enables DeployQt4 facility. It will be very helpful if you give a small 4-5 lines of e

Re: [CMake] cpack source RPM not setting install path

2012-11-09 Thread Ben Levine
It presents a make package_source option. And using this does create a (mostly) reasonable spec file. I'm actually just looking to deploy source code via this method rather then create a "true" source RPM. Ben Ben Levine Belvedere Trading (312)893-3760 #253 On 11/09/2012 05:05 PM, Eric Noular

Re: [CMake] cpack source RPM not setting install path

2012-11-09 Thread Eric Noulard
2012/11/9 Ben Levine : > I'm trying to create a source RPM that will install source to a given > path. Regardless of what parameters I set for CPACK I end up with an > RPM that installs the source in "/". If I create a binary RPM it > respects the path set in the CPACK_PACKAGING_INSTALL_PREFIX v

[CMake] cpack source RPM not setting install path

2012-11-09 Thread Ben Levine
I'm trying to create a source RPM that will install source to a given path. Regardless of what parameters I set for CPACK I end up with an RPM that installs the source in "/". If I create a binary RPM it respects the path set in the CPACK_PACKAGING_INSTALL_PREFIX variable. It seems that no com

Re: [CMake] [PATCH] Optionally skip link dependencies on shared library files

2012-11-09 Thread Leif Walsh
D'oh! Sorry I dropped this ball, thanks again, this is the most helpful patch ever. Brad King writes: > On 10/26/2012 11:22 AM, Leif Walsh wrote: >> On Oct 26, 2012, at 11:13, Brad King wrote: >> >>> On 10/26/2012 10:39 AM, Leif Walsh wrote: Sure thing. Can you let me know where to find

Re: [CMake] [PATCH] Optionally skip link dependencies on shared library files

2012-11-09 Thread Brad King
On 10/26/2012 11:22 AM, Leif Walsh wrote: > On Oct 26, 2012, at 11:13, Brad King wrote: > >> On 10/26/2012 10:39 AM, Leif Walsh wrote: >>> Sure thing. Can you let me know where to find an example test? I'll pattern >>> match one over the weekend. >> >> Most CMake tests just verify that binaries

Re: [CMake] Bug fix requests for the *next* release of CMake...

2012-11-09 Thread Glenn Coombs
http://www.cmake.org/Bug/view.php?id=12437 (do not set default stacksize of 10MB for Visual Studio) -- Glenn -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: ht

Re: [CMake] Adding external executable

2012-11-09 Thread David Cole
You should really take Eric's previous advice if you're building a Qt application: "A good starting point may be Mike's blog entry on DeployQt4 as well: http://mikemcquaid.com/2012/01/04/deploying-qt-applications-with-deployqt4/"; On Fri, Nov 9, 2012 at 4:25 AM, Manoj Vaghela wrote: > Dear Eric

Re: [CMake] Adding external executable

2012-11-09 Thread Manoj Vaghela
Dear Eric, Thank you very much for your quick reply. INSTALL( PROGRAMS ... ) worked fine. If I am using this, I also do not need to specify any IMPORTED related stuff. As my understanding now, the following lines are sufficient for creating pack. INSTALL( TARGETS ${EXECUTABLE_NAME} DESTINATION

Re: [CMake] Adding external executable

2012-11-09 Thread Eric Noulard
2012/11/9 Manoj Vaghela : > Dear Eric, > > Thanks for your reply. > > When I am using INSTALL (FILES... ) for adding external executable to my > CMakeLists.txt file, it shows the executable file in the RPM archive. But > it's execute permission is lost. What should I have to do for that? > > Also,

Re: [CMake] Adding external executable

2012-11-09 Thread Manoj Vaghela
Dear Eric, Thanks for your reply. When I am using INSTALL (FILES... ) for adding external executable to my CMakeLists.txt file, it shows the executable file in the RPM archive. But it's execute permission is lost. What should I have to do for that? Also, ADD_EXECUTABLE( ... IMPORTED) did not wor