I have a cmake file to build my project (mrViewer). The project has
additional script files that are not mentioned in my cmake file.
The project also has dependencies on c libraries installed elsewhere
(/usr/local, etc).
The tgz,deb and rpm files currently contain just the main executable
after a:
ADD_EXECUTABLE( mrViewer WIN32 ${SOURCES} )
TARGET_LINK_LIBRARIES( mrViewer ${LIBRARIES} )
INSTALL( TARGETS mrViewer
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
)
What I would like to have is a cmake sample file that shows how to:
a) Install the script files respecting its local location.
b) Install the c libraries in a local lib directory.
for cpack packaging.
Thank you very much in advance,
Gonzalo
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake