Skip to content
Snippets Groups Projects
Commit 379a17c2 authored by Olivier Langella's avatar Olivier Langella
Browse files

cmake modified to build deb package easily

parent 15b307db
Branches
Tags
No related merge requests found
......@@ -129,7 +129,7 @@ SET(CPACK_SOURCE_IGNORE_FILES
"/Debug/"
"/Release/"
"/\\\\.externalToolBuilders/"
"/\\\\.svn/"
"/\\\\.git/"
"/\\\\.settings/"
"Makefile"
"\\\\.cdtbuild"
......@@ -184,3 +184,16 @@ INSTALL(FILES share/beads/beads_silver.conf DESTINATION share/beads)
INSTALL(FILES share/beads/beads_silver_small.conf DESTINATION share/beads)
INSTALL(FILES share/beads/beads_icon.svg DESTINATION share/beads)
add_custom_target(targz
cpack -G TGZ --config CPackSourceConfig.cmake && tar xvfz beads-${BEADS_VERSION}.tar.gz
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
COMMENT "Creating .tar.gz" VERBATIM
)
add_custom_target(deb
cd beads-${BEADS_VERSION} && dpkg-buildpackage
DEPENDS targz
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
COMMENT "Creating Debian package" VERBATIM
)
NOT READY beads (1.1.15-1) lucid; urgency=low
beads (1.1.15-1) wheezy; urgency=low
* bug fixed creating new beads.conf file
......
#ifndef _CONFIG_H
#define _CONFIG_H
#define BEADS_VERSION "1.1.15d"
#define BEADS_VERSION "1.1.15"
#define cimg_OS 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment