Is there a way to use CPack to create RPMs for targets added using ExternalProject_Add? Specifically these targets are not CMake targets and use autotools to build (./configure && make).
As an example I am using the following command to add the externalproject: # add an external project target for ${PKG_NAME}-${VERSION} externalproject_add( ${PKG_NAME}-${VERSION} DEPENDS "${PKG_DEPENDS}" DOWNLOAD_COMMAND "" PREFIX ${CMAKE_CURRENT_BINARY_DIR}/${PKG_NAME}-${VERSION} SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/${PKG_NAME}-${VERSION} CONFIGURE_COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/configure.sh ${PKG_INSTALL_PREFIX} ${CMAKE_CURRENT_SOURCE_DIR}/${PKG_NAME}-${VERSION} ${PKG_CONFIG_PATH} ${LDPATH} ${DEBUG_FLAGS} BUILD_COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/build.sh ${PYG_PKG_CONFIG_PATH} ${LDPATH} ) Thanks in advance for help. Cheers, -Anil
-- 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