Re: [CMake] cache behavior of CMAKE_OSX_SYSROOT and CMAKE_OSX_DEPLOYMENT_TARGET variables

2012-12-20 Thread Comcast Acct
Hello: On the same note, are these the proper settings to use on the cmake command line at invocation in order to get cmake to build without Xcode? Thanks, Freddie On Dec 20, 2012, at 11:56 AM, Matthew LeRoy wrote: > Ahh, well then. I guess that makes sense, heh. > > Currently the if(APPLE)...

Re: [CMake] cache behavior of CMAKE_OSX_SYSROOT and CMAKE_OSX_DEPLOYMENT_TARGET variables

2012-12-20 Thread Matthew LeRoy
Ahh, well then. I guess that makes sense, heh. Currently the if(APPLE)... code is after the project() command, but I could certainly move it to before. I would prefer to specify these settings in my CMakeLists file, and not have to specify them manually at cmake-time. That seems like a perfectl

Re: [CMake] cache behavior of CMAKE_OSX_SYSROOT and CMAKE_OSX_DEPLOYMENT_TARGET variables

2012-12-20 Thread David Cole
Because you're not using the CACHE keyword with your set calls. And if the cache is initialized before your call, then you won't override it even if you do use the CACHE keyword. Where is your "if(APPLE)" code? If it's after the first project command, then you should be specifying these things in

[CMake] cache behavior of CMAKE_OSX_SYSROOT and CMAKE_OSX_DEPLOYMENT_TARGET variables

2012-12-20 Thread Matthew LeRoy
Hi, Lately I've been attempting to use the CMAKE_OSX_DEPLOYMENT_TARGET and CMAKE_OSX_SYSROOT variables to set the corresponding properties on the generated Xcode project, and I'm trying to understand how these variables behave with respect to the CMake cache. I'm using CMake 2.8.10.2. I'm doin

Re: [CMake] struggling with CPack building RPMs

2012-12-20 Thread Eric Noulard
2012/12/20 Martin Koller : > The docs for COMPONENT base cpack with RPM is not clear to me, therefore a > principle question: > > Is it possible to generate multiple rpm packages, each having its specific > name, description, etc. > out of one project ? No. At least not ... yet. There is a bug r

[CMake] struggling with CPack building RPMs

2012-12-20 Thread Martin Koller
The docs for COMPONENT base cpack with RPM is not clear to me, therefore a principle question: Is it possible to generate multiple rpm packages, each having its specific name, description, etc. out of one project ? I could not find a way to define e.g. the summary or description per component

Re: [CMake] CMake fails to find zlib on OS X Mountain Lion

2012-12-20 Thread Leif Walsh
I was able to deal with this by modifying the environment variable CPATH. Let me know if you find something better. Sent from my iPhone On Dec 20, 2012, at 7:14, Alexey Petruchik wrote: > Hi, all. I have a fresh install of OS X Mountain Lion. Xcode installed. CMake > fails to locate zlib hea

[CMake] CMake fails to find zlib on OS X Mountain Lion

2012-12-20 Thread Alexey Petruchik
Hi, all. I have a fresh install of OS X Mountain Lion. Xcode installed. CMake fails to locate zlib headers: CMake Error at /Applications/CMake 2.8-10.app/Contents/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (message): Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR) Call Stack