blob: bcd78ae8acdbccc6390c7548d8c9fa0aa853fcae (
plain) (
tree)
|
|
cmake_minimum_required(VERSION 2.8)
project(fbgui)
set(fbgui_VERSION_MAJOR 0)
set(fbgui_VERSION_MINOR 1)
set(fbgui_VERSION_PATCH 0)
find_package(PkgConfig)
add_subdirectory(doc)
add_subdirectory(src/customdhcpcd)
add_subdirectory(src/fbgui)
set(CPACK_GENERATOR "TGZ")
set(CPACK_PACKAGE_NAME "fbgui")
set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 0)
set(CPACK_STRIP_FILES bin/fbgui;bin/cdhcpcd)
set(CPACK_PACKAGE_VERSION "${fbgui_VERSION_MAJOR}.${fbgui_VERSION_MINOR}.${fbgui_VERSION_PATCH}")
set(CPACK_PACKAGE_FILE_NAME "fbgui-${CPACK_PACKAGE_VERSION}")
set(CPACK_SOURCE_PACKAGE_FILE_NAME "fbgui-${CPACK_PACKAGE_VERSION}.src")
INCLUDE(CPack)
|