Skip to content
Snippets Groups Projects
Commit 168cec89 authored by Dilawar Singh's avatar Dilawar Singh
Browse files

Test on travis.

parent 20e43fbc
No related branches found
No related tags found
No related merge requests found
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(MOOSE)
project(moose)
......
......@@ -20,7 +20,7 @@ echo "Building MOOSE"
-DCMAKE_BUILD_TYPE=Release \
-DWITH_BOOST=@WITH_BOOST@ \
-DPYTHON_EXECUTABLE=@PYTHON_EXECUTABLE@ \
-DMOOSE_VERSION=@_MOOSE_VERSION_@ \
-DVERSION_MOOSE=@MOOSE_VERSION@ \
@CMAKE_PYMOOSE_ARGS@ \
@PYMOOSE_SOURCE_DIR@
$MAKE
......
......@@ -29,7 +29,7 @@ endif()
# If from command line, version info is not passed, use the git to generate a
# version file. If GIT fails, use the previous known version.
if(NOT VERSION_MOOSE)
set(VERSION_MOOSE "3.2.0rc1-${GIT_HEAD}")
set(VERSION_MOOSE "3.2.0-${GIT_HEAD}")
endif( )
add_definitions( -DMOOSE_VERSION="${VERSION_MOOSE}")
message( STATUS "MOOSE Version ${VERSION_MOOSE}" )
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment