diff options
author | YohanPipereau <ypiperea@cisco.com> | 2019-04-05 20:14:09 +0200 |
---|---|---|
committer | YohanPipereau <ypiperea@cisco.com> | 2019-04-09 15:32:18 +0200 |
commit | 3320f7c7224e051b4a30a74e0a683159ed8b9dea (patch) | |
tree | 9f78bdc71d366a402970b44016d92ac922b399c3 /src/cmake | |
parent | a760dfb253161911fc3aa3c8b879c461d53ade6e (diff) |
Modify build system
-Clean Makefile
-Fix errors in scvpp length copies
-Add testing when building scvpp
Change-Id: I5a331386a1812b147dfec26310dfbd3aed327dae
Signed-off-by: YohanPipereau <ypiperea@cisco.com>
Diffstat (limited to 'src/cmake')
-rw-r--r-- | src/cmake/Packager.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmake/Packager.cmake b/src/cmake/Packager.cmake index 4305652..fddb382 100644 --- a/src/cmake/Packager.cmake +++ b/src/cmake/Packager.cmake @@ -33,7 +33,7 @@ macro(make_packages) set(OS_${_name} ${_value}) endforeach() - # extract version from git + #extract version from git execute_process( COMMAND git describe --long --match v* WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} @@ -51,6 +51,8 @@ macro(make_packages) list(GET VER 1 commit_num) list(GET VER 2 commit_name) + message("${tag}") + if (NOT DEFINED ENV{BUILD_NUMBER}) set(bld "b1") else() |