Re: [CMake] CMake and include only libraries

2011-04-05 Thread Theodore Papadopoulo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/05/2011 03:53 AM, Michael Hertling wrote: CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR) PROJECT(HEADERLIBRARY C) SET(CMAKE_VERBOSE_MAKEFILE ON) FILE(WRITE ${CMAKE_BINARY_DIR}/f.h void f(void)\n) ADD_LIBRARY(f STATIC f.h)

Re: [CMake] CMake and include only libraries

2011-04-05 Thread Michael Wild
On 04/05/2011 11:02 AM, Theodore Papadopoulo wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/05/2011 03:53 AM, Michael Hertling wrote: CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR) PROJECT(HEADERLIBRARY C) SET(CMAKE_VERBOSE_MAKEFILE ON) FILE(WRITE ${CMAKE_BINARY_DIR}/f.h

Re: [CMake] CMake and include only libraries

2011-04-05 Thread Johannes Zarl
Honestly, headers seem sometimes a second class citizen in cmake: there are some properties related to headers but few header knowledgeable commands... I really don't see how CMake could automate this any more, or what additional information it could generate for you. Well, since you asked:

[CMake] CMake and include only libraries

2011-04-04 Thread Theodore Papadopoulo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm trying to use cmake to install a include only library. I'd like to use the export feature as described in http://www.itk.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file and I found the idea of using

Re: [CMake] CMake and include only libraries

2011-04-04 Thread Michael Hertling
On 04/04/2011 07:30 PM, Theodore Papadopoulo wrote: Hi, I'm trying to use cmake to install a include only library. I'd like to use the export feature as described in http://www.itk.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file and I found the idea of using

Re: [CMake] CMake and include only libraries

2011-04-04 Thread Michael Wild
On 04/05/2011 03:53 AM, Michael Hertling wrote: On 04/04/2011 07:30 PM, Theodore Papadopoulo wrote: Hi, I'm trying to use cmake to install a include only library. I'd like to use the export feature as described in