Merge lp:~codygarver/contractor/fix-1076823 into lp:~michael.lazarski/contractor/master

Proposed by Cody Garver
Status: Merged
Approved by: Michael Lazarski
Approved revision: 69
Merge reported by: Cody Garver
Merged at revision: not available
Proposed branch: lp:~codygarver/contractor/fix-1076823
Merge into: lp:~michael.lazarski/contractor/master
Diff against target: 21 lines (+11/-0)
1 file modified
CMakeLists.txt (+11/-0)
To merge this branch: bzr merge lp:~codygarver/contractor/fix-1076823
Reviewer Review Type Date Requested Status
Michael Lazarski Approve
Review via email: mp+155664@code.launchpad.net
To post a comment you must log in.
Revision history for this message
David Gomes (davidgomes) wrote :

Not reviewing this one since Michael has claimed the review.

Revision history for this message
Michael Lazarski (michael.lazarski) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2012-09-02 20:24:14 +0000
3+++ CMakeLists.txt 2013-03-27 06:21:21 +0000
4@@ -5,6 +5,17 @@
5 project(contractor)
6 list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake )
7
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+
19 add_subdirectory (src)
20 add_subdirectory (data)
21 add_subdirectory (po)

Subscribers

People subscribed via source and target branches

to all changes: