Commit 5c4d3d6f authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

add build target to create source archive

parent a5be201b
......@@ -33,4 +33,12 @@ foreach (HEADER ${HEADERS})
list (APPEND HEADERS_RESOLVED "${HEADER_RESOLVED}")
endforeach()
install(FILES ${HEADERS_RESOLVED} DESTINATION include/xilinx)
\ No newline at end of file
install(FILES ${HEADERS_RESOLVED} DESTINATION include/xilinx)
set(CPACK_PACKAGE_VERSION_MAJOR "0")
set(CPACK_PACKAGE_VERSION_MINOR "1")
set(CPACK_PACKAGE_VERSION_PATCH "0")
set(CPACK_SOURCE_GENERATOR "TGZ")
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}")
set(CPACK_SOURCE_IGNORE_FILES "/build/;/.git/;~$;${CPACK_SOURCE_IGNORE_FILES}")
include(CPack)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment