Re: [CMake] Headers don't install on Mac OS X (mysql-connector-c)

2012-04-26 Thread Eric Noulard
2012/4/26 Braden McDaniel : > On 4/26/12 2:45 PM, Eric Noulard wrote: >> >> 2012/4/26 Braden McDaniel: >>> >>> I'm building mysql-connector-c-6.0.2, which uses cmake, on Mac OS X >>> 10.7.3 >>> using MacPorts cmake 2.8.7.  I have found that "make install" does not >>> actually install the project's

Re: [CMake] Headers don't install on Mac OS X (mysql-connector-c)

2012-04-26 Thread Braden McDaniel
On 4/26/12 2:45 PM, Eric Noulard wrote: 2012/4/26 Braden McDaniel: I'm building mysql-connector-c-6.0.2, which uses cmake, on Mac OS X 10.7.3 using MacPorts cmake 2.8.7. I have found that "make install" does not actually install the project's header files. When I tried to reproduce this on Lin

Re: [CMake] What CMake release introduced VERSION_LESS/EQUAL/GREATER

2012-04-26 Thread Eric Noulard
2012/4/26 Bill Lorensen : > The subject says it all. http://www.cmake.org/Wiki/CMake_Version_Compatibility_Matrix or as an alternative since: commit 4fa96dbf95bb3689fb1c3283c38713ec5275f262 Author: Brad King Date: Wed Sep 10 11:58:40 2008 -0400 ENH: Add version comparison to if() command

Re: [CMake] Headers don't install on Mac OS X (mysql-connector-c)

2012-04-26 Thread Eric Noulard
2012/4/26 Braden McDaniel : > I'm building mysql-connector-c-6.0.2, which uses cmake, on Mac OS X 10.7.3 > using MacPorts cmake 2.8.7.  I have found that "make install" does not > actually install the project's header files. > > When I tried to reproduce this on Linux (Fedora 16), it worked just fi

[CMake] What CMake release introduced VERSION_LESS/EQUAL/GREATER

2012-04-26 Thread Bill Lorensen
The subject says it all. -- 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: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://

[CMake] Headers don't install on Mac OS X (mysql-connector-c)

2012-04-26 Thread Braden McDaniel
I'm building mysql-connector-c-6.0.2, which uses cmake, on Mac OS X 10.7.3 using MacPorts cmake 2.8.7. I have found that "make install" does not actually install the project's header files. When I tried to reproduce this on Linux (Fedora 16), it worked just fine; so it looks like this is a Ma

Re: [CMake] Zero coverage being reported on gcc/Linux builds.

2012-04-26 Thread Kent Williams
I've verified that the gdca files are there. And it displays coverage on CDash -- indicating coverage reports are being pushed to the CDash server -- but reports zero coverage. I am using a SuperBuild/ExternalProject build system but for the purposes of dashboards, I do the top level build, then g

Re: [CMake] Calling install() from parent directory

2012-04-26 Thread Petr Kmoch
This is unfortunately not possible. In a nutshell, my setup is as follows: ## top_level/CMakeLists.txt: set_property(GLOBAL PROPERTY my_project_list ${variable_defined_on_command_line}) get_property(projects GLOBAL PROPERTY my_project_list) while(projects) set_property(GLOBAL PROPERTY my_projec

Re: [CMake] Calling install() from parent directory

2012-04-26 Thread David Cole
If it really "depends on stuff which happens" then the add_subdirectory call should be "after that stuff" On Thu, Apr 26, 2012 at 2:54 AM, Petr Kmoch wrote: > Hi all, > > I have a rather complex setup with multiple subdirectories under one > top-level CMakeLists.txt file. I need to install some

Re: [CMake] CPack : Executing post install script (portable way)

2012-04-26 Thread Eric Noulard
2012/4/26 Nicholas Yue : > Hi, > >  What is the proper way to execute a post install script in NSIS, > PackageMaker and sh-archive ? Currently there is no way to do that. And I'd say that portable "package install time" script execution is not easy at all. When the package is installed (NSIS, Pac

[CMake] CPack : Executing post install script (portable way)

2012-04-26 Thread Nicholas Yue
Hi, What is the proper way to execute a post install script in NSIS, PackageMaker and sh-archive ? From reading the http://www.vtk.org/Wiki/CMake:CPackPackageGenerators, it seems different package generator has different ways. My immediate need is to run a batch script for NSIS at a known