2010/11/20 Paolo Zaffino <[email protected]>:
> Dear all,
> I builded a deb file using cpack.
> The package work fine but I have a question for you.
> During the compiling (run by cpack command) are generated some static
> libraries that will be included into the package.
> I don't want include the *.a files...do you know a way for exclude them from
> the deb file?

If you don't want to include some targets (including static libs) you should
just not INSTALL(...) them in yor CMakeLists.txt

If you want to install those static libs BUT not include them in the .deb
(which is weird but ok) then there is currently no way to do that.
This can be done by patching CPackDeb.cmake but would you
really want to do that?


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
_______________________________________________
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://www.cmake.org/mailman/listinfo/cmake

Reply via email to