CMakeLists.txt
changeset 28 ff36ae7e2b1e
parent 27 0539bca09f11
child 30 060c59f6f3de
equal deleted inserted replaced
27:0539bca09f11 28:ff36ae7e2b1e
    14 # You should have received a copy of the GNU General Public License
    14 # You should have received a copy of the GNU General Public License
    15 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
    15 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
    16 
    16 
    17 cmake_minimum_required(VERSION 2.6) 
    17 cmake_minimum_required(VERSION 2.6) 
    18 project(disco C) 
    18 project(disco C) 
       
    19 set(PROJECT_VERSION "0.0.1")
    19 
    20 
    20 ## User settable options
    21 ## User settable options
    21  
    22  
    22 ## Check for build dependencies
    23 ## Check for build dependencies
    23 find_package(PkgConfig REQUIRED) 
    24 find_package(PkgConfig REQUIRED) 
    47 include_directories(${disco_SOURCE_DIR} 
    48 include_directories(${disco_SOURCE_DIR} 
    48                     ${disco_BINARY_DIR}) 
    49                     ${disco_BINARY_DIR}) 
    49 
    50 
    50 ## Packaging information
    51 ## Packaging information
    51 set(CPACK_PACKAGE_NAME libmcabber-disco)
    52 set(CPACK_PACKAGE_NAME libmcabber-disco)
    52 set(CPACK_PACKAGE_VERSION "0.0.1")
    53 set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
    53 set(CPACK_PACKAGE_VENDOR "IsBear")
    54 set(CPACK_PACKAGE_VENDOR "IsBear")
    54 set(CPACK_PACKAGE_CONTACT "Myhailo Danylenko <isbear@ukrpost.net>")
    55 set(CPACK_PACKAGE_CONTACT "Myhailo Danylenko <isbear@ukrpost.net>")
    55 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Mcabber module for service discovery requests")
    56 set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Mcabber module for service discovery requests")
    56 set(CPACK_RESOURCE_FILE_LICENSE ${disco_SOURCE_DIR}/COPYING)
    57 set(CPACK_RESOURCE_FILE_LICENSE ${disco_SOURCE_DIR}/COPYING)
    57 set(CPACK_SOURCE_GENERATOR TBZ2)
    58 set(CPACK_SOURCE_GENERATOR TBZ2)