[CMake] Copy includes + Library config

Pablo Odorico pablo.odorico at gmail.com
Tue Oct 3 14:48:18 EDT 2006


hi,
I'm building a library in C++ that uses SDL and some other libraries

My (simplified) tree:
libpgl
|-- CMakeLists.txt
|-- bin
|-- include
|   | (lots of .h files)
|-- pgltest
|   |-- CMakeLists.txt
|   |-- bin
|   `-- pgltest.cpp
`-- src
    |-- CMakeLists.txt
    `-- (lots of .cpp files)

How can I use cmake to copy the library headers in a portable way? 
(eg: /usr/include/pgl/*.h in linux)

Is there a way to run ldconfig after "make install" so the library can be used 
right away? Will that affect  the install in a non-unix OS?

thanks

-- 
Pablo Odorico
http://pablo.etype.com.ar/


More information about the CMake mailing list