1
by am.monkeyd@gmail.com
let's roll |
1 |
# Check http://elementaryos.org/docs/developer-guide/cmake for documentation
|
2 |
||
3 |
cmake_minimum_required (VERSION 2.6) |
|
4 |
cmake_policy(VERSION 2.6) |
|
5 |
project(contractor) |
|
16.1.1
by Corentin Noël
Contractor now use X-GNOME-Gettext-Domain to translate contracts |
6 |
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ) |
1
by am.monkeyd@gmail.com
let's roll |
7 |
|
65
by Michael Lazarski
merged fix for |
8 |
set (VERSION "0.3") |
9 |
||
10 |
# Add 'make dist' command for creating release tarball
|
|
11 |
set (CPACK_PACKAGE_VERSION ${VERSION}) |
|
12 |
set (CPACK_SOURCE_GENERATOR "TGZ") |
|
13 |
set (CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION}") |
|
14 |
set (CPACK_SOURCE_IGNORE_FILES "/build/;/.bzr/;/.bzrignore;~$;${CPACK_SOURCE_IGNORE_FILES}") |
|
15 |
||
16 |
include (CPack) |
|
17 |
add_custom_target (dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source) |
|
18 |
||
1
by am.monkeyd@gmail.com
let's roll |
19 |
add_subdirectory (src) |
20 |
add_subdirectory (data) |
|
16.1.1
by Corentin Noël
Contractor now use X-GNOME-Gettext-Domain to translate contracts |
21 |
add_subdirectory (po) |
1
by am.monkeyd@gmail.com
let's roll |
22 |