From 75ff98e4d65862ff5b36b533b4f6e3ea71ede1d5 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Sat, 17 Sep 2016 03:22:53 +0000 Subject: cmake build --- CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..da2d816 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,13 @@ +cmake_minimum_required(VERSION 2.8) +project(chill) +set(CHILL_VERSION 0.2.1) # 2.8 doesn't support project version clause + +if(NOT DEFINED ROSEHOME) + message( FATAL_ERROR "ROSEHOME is not set, try use -DROSEHOME" ) +endif() +if (NOT DEFINED BOOSTHOME) + message( FATAL_ERROR "BOOSTHOME is not set, try use -DBOOSTHOME" ) +endif() + +add_subdirectory(chill) +add_subdirectory(omegalib) -- cgit v1.2.3-70-g09d2