Initial commit.

This commit is contained in:
Jonas Kvinge
2018-02-27 18:06:05 +01:00
parent 85d9664df7
commit b2b1ba7abe
1393 changed files with 177311 additions and 1 deletions

9
cmake/Deb.cmake Normal file
View File

@@ -0,0 +1,9 @@
set(DEB_ARCH amd64 CACHE STRING "Architecture of the deb file")
set(DEB_DIST "unstable" CACHE STRING "Distribution to set in the .deb changelog")
add_custom_target(deb
COMMAND dpkg-buildpackage -b -d -uc -us
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/../strawberry_${STRAWBERRY_VERSION_DEB}~${DEB_DIST}_${DEB_ARCH}.deb
${CMAKE_BINARY_DIR}/strawberry_${STRAWBERRY_VERSION_DEB}~${DEB_DIST}_${DEB_ARCH}.deb
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)