On Thu, Aug 5, 2010 at 11:06 PM, Chris Wolf <cw10...@gmail.com> wrote: > I'm looking all over for an end-to-end basic example of using CPack > to create a package with a single shared library target. It can > even be with the TGZ generator.
cmake_minimum_required(VERSION 2.4) set(CMAKE_BUILD_TYPE release) include_directories(.) add_library( xbt SHARED sql/database.cpp sql/sql_query.cpp sql/sql_result.cpp ) install(DIRECTORY xbt DESTINATION include FILES_MATCHING PATTERN *.h PATTERN .svn EXCLUDE) install(TARGETS xbt DESTINATION lib) _______________________________________________ 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