Clementine-audio-player-Mac.../cmake/Deb.cmake

9 lines
349 B
CMake
Raw Normal View History

2010-09-05 00:33:31 +02:00
set(DEB_ARCH amd64 CACHE STRING "Architecture of the deb file")
add_custom_target(deb
COMMAND dpkg-buildpackage -b -uc -us
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/../clementine_${CLEMENTINE_DEB_VERSION}_${DEB_ARCH}.deb
2010-09-05 00:33:31 +02:00
${CMAKE_BINARY_DIR}/clementine.deb
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)