1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-13 09:07:04 +01:00
strawberry-audio-player-win.../cmake/Deb.cmake
2018-07-16 02:57:57 +02:00

7 lines
283 B
CMake

add_custom_target(deb
#COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_SOURCE_DIR}/dist/debian ${CMAKE_BINARY_DIR}/debian
COMMAND cp -r -p ${CMAKE_SOURCE_DIR}/dist/debian ${CMAKE_BINARY_DIR}/
COMMAND dpkg-buildpackage -b -d -uc -us
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)