-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get SPAdes version from single common place
- Loading branch information
Showing
5 changed files
with
55 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,21 @@ | ||
# -*- cmake -*- | ||
|
||
# Binary stuff | ||
set(CPACK_CMAKE_GENERATOR "Unix Makefiles") | ||
if (APPLE) | ||
set(CPACK_GENERATOR "TGZ") | ||
else() | ||
set(CPACK_GENERATOR "TGZ") | ||
endif() | ||
|
||
set(CPACK_PACKAGE_NAME "SPAdes") | ||
set(CPACK_PACKAGE_VENDOR "Saint Petersburg State University") | ||
# Binary stuff | ||
set(CPACK_GENERATOR "TGZ") | ||
set(CPACK_PACKAGE_NAME "${SPADES_FLAVOUR}") | ||
set(CPACK_PACKAGE_VENDOR "SPAdes Team") | ||
#set(CPACK_PACKAGE_DESCRIPTION_FILE "${SPADES_MAIN_SRC_DIR}/../README") | ||
set(CPACK_RESOURCE_FILE_LICENSE "${SPADES_MAIN_SRC_DIR}/../LICENSE") | ||
set(CPACK_PACKAGE_VERSION "3.16.0-dev") | ||
set(CPACK_PACKAGE_VERSION_MAJOR "3") | ||
set(CPACK_PACKAGE_VERSION_MINOR "16") | ||
set(CPACK_PACKAGE_VERSION_PATCH "0") | ||
set(CPACK_STRIP_FILES bin/spades-bwa bin/spades-core bin/spades-corrector-core bin/spades-gbuilder bin/spades-gmapper bin/spades-hammer bin/spades-ionhammer bin/spades-kmercount) | ||
|
||
set(CPACK_PACKAGE_VERSION "${SPADES_PACKAGE_VERSION}") | ||
set(CPACK_PACKAGE_VERSION_MAJOR "${SPADES_VERSION_MAJOR}") | ||
set(CPACK_PACKAGE_VERSION_MINOR "${SPADES_VERSION_MINOR}") | ||
set(CPACK_PACKAGE_VERSION_PATCH "${SPADES_VERSION_PATCH}") | ||
|
||
# Source stuff | ||
set(CPACK_SOURCE_GENERATOR "TBZ2") | ||
set(CPACK_SOURCE_IGNORE_FILES tools test web_service online_vis cap) | ||
set(CPACK_SOURCE_IGNORE_FILES tools test online_vis) | ||
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}") | ||
|
||
include(CPack) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
#ifndef __SPADES_VERSION_HPP__ | ||
#define __SPADES_VERSION_HPP__ | ||
|
||
#cmakedefine SPADES_GIT_REFSPEC "${SPADES_GIT_REFSPEC}" | ||
#cmakedefine SPADES_GIT_SHA1 "${SPADES_GIT_SHA1}" | ||
#define SPADES_FLAVOUR "${SPADES_FLAVOUR}" | ||
#define SPADES_PACKAGE_VERSION "${SPADES_PACKAGE_VERSION}" | ||
#define SPADES_VERSION_MAJOR "${SPADES_VERSION_MAJOR}" | ||
#define SPADES_VERSION_MINOR "${SPADES_VERSION_MINOR}" | ||
#define SPADES_VERSION_PATCH "${SPADES_VERSION_PATCH}" | ||
#define SPADES_GIT_REFSPEC "${SPADES_GIT_REFSPEC}" | ||
#define SPADES_GIT_SHA1 "${SPADES_GIT_SHA1}" | ||
|
||
#endif // __SPADES_VERSION_HPP__ |