From 011f63d19d6c614666ba7ee145b0685d36a8a0de Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Wed, 14 Nov 2012 14:11:39 -0800 Subject: lib/cmake: CPack source work * Removed all host code dependencies on firmware headers * Put in CMake settings for CPack source --- host/cmake/Modules/UHDPackage.cmake | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'host/cmake/Modules') diff --git a/host/cmake/Modules/UHDPackage.cmake b/host/cmake/Modules/UHDPackage.cmake index 432859ccc..d2f5d78f2 100644 --- a/host/cmake/Modules/UHDPackage.cmake +++ b/host/cmake/Modules/UHDPackage.cmake @@ -95,6 +95,13 @@ SET(CPACK_RESOURCE_FILE_WELCOME ${CMAKE_SOURCE_DIR}/README.txt) SET(CPACK_RESOURCE_FILE_README ${CMAKE_SOURCE_DIR}/AUTHORS.txt) SET(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/LICENSE.txt) +######################################################################## +# Setup CPack Source +######################################################################## + +SET(CPACK_SOURCE_PACKAGE_FILE_NAME "uhd-source_${UHD_VERSION}") +SET(CPACK_SOURCE_IGNORE_FILES "\\\\.git*") + ######################################################################## # Setup CPack Components ######################################################################## -- cgit v1.2.3