Skip to content
Snippets Groups Projects
Commit 595e60ff authored by mateuszg's avatar mateuszg
Browse files

building deb package

parent 81917369
No related branches found
No related tags found
1 merge request!1Deb
PROJECT(Tokenizer)
PROJECT(toki)
cmake_minimum_required(VERSION 2.6.0)
set(toki_ver_major "1")
set(toki_ver_minor "0")
set(toki_ver_patch "0")
set(TOKI_VERSION
"${toki_ver_major}.${toki_ver_minor}.${toki_ver_patch}")
# use some of our own Find* scripts
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMakeScripts)
......@@ -48,3 +55,14 @@ if(UNIX)
add_subdirectory(tests)
endif(UNIX)
add_subdirectory(toki-app)
# Requires to install dependencies
#set(CPACK_DEBIAN_PACKAGE_DEPENDS "libxml++2.6-dev, libloki-dev, libboost-all-dev, libicu-dev, libffi-dev, libssl-dev, libxml2-utils, swig, gdebi-core")
# Set *.deb package name and version
SET(CPACK_PACKAGE_VERSION "${TOKI_VERSION}")
SET(CPACK_GENERATOR "DEB")
SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "g419")
INCLUDE(CPack)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment