Project

General

Profile

Revision dd62ff27 regression_tests/CMakeLists.txt

View differences:

regression_tests/CMakeLists.txt
1 1
cmake_minimum_required(VERSION 2.8.4)
2 2
project (lustrec-tests)
3
include( CTest )
4 3
include(FindJava)
5 4

  
6 5

  
......
12 11

  
13 12
if(LUSTRE_COMPILER)
14 13
  message(STATUS "lustrec: ${LUSTRE_COMPILER} ")
14
  execute_process(COMMAND ${LUSTRE_COMPILER} -version
15
        OUTPUT_VARIABLE LUSTRE_COMPILER_VERSION
16
        OUTPUT_STRIP_TRAILING_WHITESPACE)
17

  
15 18
else(LUSTRE_COMPILER)
16 19
  message(FATAL_ERROR "lustrec not found")
17 20
endif(LUSTRE_COMPILER)
......
81 84

  
82 85
# set(SUBPROJ "master")
83 86
message("subproj: ${SUBPROJ}")
84
set(BUILDNAME "${LUSTRE_COMPILER_VERSION}" CACHE STRING "Compiled with
85
${LUSTRE_COMPILER_VERSION} ")
87
set(BUILDNAME "${LUSTRE_COMPILER_VERSION}" CACHE STRING "Compiled with ${LUSTRE_COMPILER_VERSION} ")
86 88

  
87 89

  
90
include( CTest )
88 91

  

Also available in: Unified diff