Re: [CMake] CPACK: configured variables in CMake file are ignored

2012-11-26 Thread Eric Noulard
2012/11/27 Paolo Ciccone : > Hi. > > This issue is with CPack 2.8.10.1 on Mac OS. > > I have a CPack configuration inside a CMake file that seems to skip some > variables that have been set. > For example: > > INCLUDE(InstallRequiredSystemLibraries) > SET(CPACK_RESOURCE_FILE_README "Absolute path t

Re: [CMake] How to get Visual Studio to use more than a single core for compiling

2012-11-26 Thread Titus von Boxberg
Am 27.11.2012 05:24, schrieb Michael Jackson: That will teach me to hit enter in GMail.. My question is this: What is the magic CMake incantation to get Visual Studio 2010 to use more than a single processor when compiling my project? You could add /MP to CMAKE_C_FLAGS and CMAKE_CXX_FLAGS Rega

Re: [CMake] How to get Visual Studio to use more than a single core for compiling

2012-11-26 Thread Michael Jackson
That will teach me to hit enter in GMail.. My question is this: What is the magic CMake incantation to get Visual Studio 2010 to use more than a single processor when compiling my project? Thanks - Mike Jackson _ Mike Jackson

[CMake] How to get Visual Studio to use more than a single core for compiling

2012-11-26 Thread Michael Jackson
_ Mike Jackson mike.jack...@bluequartz.net BlueQuartz Softwarewww.bluequartz.net Principal Software Engineer Dayton, Ohio -- Powered by www.kitware.com Visit other Kitware open-source pro

[CMake] CPACK: configured variables in CMake file are ignored

2012-11-26 Thread Paolo Ciccone
Hi. This issue is with CPack 2.8.10.1 on Mac OS. I have a CPack configuration inside a CMake file that seems to skip some variables that have been set. For example: INCLUDE(InstallRequiredSystemLibraries) SET(CPACK_RESOURCE_FILE_README "Absolute path to the redme file") SET(CPACK_PACKAGE_VENDOR

[CMake] Invitation to connect on LinkedIn

2012-11-26 Thread Casper Kejlberg-Rasmussen via LinkedIn
LinkedIn Casper Kejlberg-Rasmussen requested to add you as a connection on LinkedIn: -- Robert, I'd like to add you to my professional network on LinkedIn. - Casper Accept invitation from Casper Kejlberg-Rasmussen http://www.linke

Re: [CMake] Cpack not packaging anything

2012-11-26 Thread Thomas Nilsson
Eric Noulard skrev 2012-11-26 20:12: 2012/11/26 Thomas Nilsson : And I've fixed that, so now it actually packages the correct files. But, next question ;-) Now that I am using a relative (to CMAKE_INSTALL_PREFIX) installation scheme, I'd also like to have my TGZ/TZ/ZIP package to work that w

[CMake] Fwd: Cpack not packaging anything

2012-11-26 Thread Eric Noulard
Forgot the list -- Forwarded message -- From: Eric Noulard Date: 2012/11/26 Subject: Re: [CMake] Cpack not packaging anything To: thomas.nils...@responsive.se 2012/11/26 Thomas Nilsson : > And I've fixed that, so now it actually packages the correct files. > > But, next questi

Re: [CMake] Cpack not packaging anything

2012-11-26 Thread Thomas Nilsson
Eric Noulard skrev 2012-11-26 19:43: But my real problem is then that I can't get CPack to work without CPACK_SET_DESTDIR. My (inherited) CMakeList.txt:s does specify set(CMAKE_INSTALL_PREFIX /usr/local) but also things like install(... DESTINATION ${BIN_INSTALL_DIR} ...) s

Re: [CMake] Cpack not packaging anything

2012-11-26 Thread Eric Noulard
2012/11/26 Thomas Nilsson : > > Eric Noulard skrev 2012-11-26 17:22: > >> 2012/11/26 Thomas Nilsson : >>> >>> Found this: http://www.cmake.org/pipermail/cmake/2008-July/022958.html >>> >>> CPack can't handle absolute install paths (like /usr/local/include) >>> unless >>> CPACK_SET_DESTDIR is set, t

Re: [CMake] Cpack not packaging anything

2012-11-26 Thread Thomas Nilsson
Eric Noulard skrev 2012-11-26 17:22: 2012/11/26 Thomas Nilsson : Found this: http://www.cmake.org/pipermail/cmake/2008-July/022958.html CPack can't handle absolute install paths (like /usr/local/include) unless CPACK_SET_DESTDIR is set, then it installs in the specified location and picks the

Re: [CMake] OS X dynamic library install_name

2012-11-26 Thread David Cole
http://cmake.org/cmake/help/v2.8.10/cmake.html#prop_tgt:INSTALL_NAME_DIR On Mon, Nov 26, 2012 at 11:04 AM, Alexey Petruchik wrote: > Hi, everybody. This question could have been already risen but hadn't found > any "pretty" solution. The question is: How to set install name for OS X > dynamic lib

Re: [CMake] Cpack not packaging anything

2012-11-26 Thread Eric Noulard
2012/11/26 Thomas Nilsson : > Found this: http://www.cmake.org/pipermail/cmake/2008-July/022958.html > > CPack can't handle absolute install paths (like /usr/local/include) unless > CPACK_SET_DESTDIR is set, then it installs in the specified location and > picks the files from there. Normal behavio

[CMake] OS X dynamic library install_name

2012-11-26 Thread Alexey Petruchik
Hi, everybody. This question could have been already risen but hadn't found any "pretty" solution. The question is: How to set install name for OS X dynamic library to "@exectuable_path/../Frameworks/libX.dylib" or "@rpath/libX.dylib"? My solution is: set_target_properties(X PROPERTIES XCODE_ATTRI

Re: [CMake] Cpack not packaging anything

2012-11-26 Thread Thomas Nilsson
Found this: http://www.cmake.org/pipermail/cmake/2008-July/022958.html CPack can't handle absolute install paths (like /usr/local/include) unless CPACK_SET_DESTDIR is set, then it installs in the specified location and picks the files from there. Normal behaviour is to install in a temporary loc

Re: [CMake] Cpack not packaging anything

2012-11-26 Thread David Cole
Run: VERBOSE=1 make package Then, run the same command line that it runs for CPack, but add the "--debug" and "--verbose" flags to see if that tells you what's going wrong... HTH, David On Mon, Nov 26, 2012 at 10:01 AM, Thomas Nilsson wrote: > I have a project with multiple subdirectories

[CMake] Cpack not packaging anything

2012-11-26 Thread Thomas Nilsson
I have a project with multiple subdirectories and installs. I'm trying to get it to package the targets using CPack, but nothing gets included in the .tgz when I "make package". There is an install_manifest.txt generated which lists the correct files, but the .tgz is empty. So it seems that CPa