# (C) Copyright 2008-2009 SDML (www.sdml.info) # # Use, modification and distribution is subject to the Boost Software # License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) # Configure the build environment cmake_minimum_required(VERSION 2.6) list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) # Define Origin-specific configuration information such as version, etc. # This is done here to allow external. Don't forget to update this from time # to time... set(ORIGIN_VERSION_MAJOR 0) set(ORIGIN_VERSION_MINOR 2) set(ORIGIN_VERSION_PATCH 0) set(ORIGIN_VERSION "${ORIGIN_VERSION_MAJOR}.${ORIGIN_VERSION_MINOR}.${ORIGIN_VERSION_PATCH}") # Include all of the Origin-specific build facilities. include(Origin) # List all of the projects that will be built as part of Origin. add_subdirectory(core) add_subdirectory(std) add_subdirectory(graph) add_subdirectory(dynarray) add_subdirectory(heap) add_subdirectory(optional) # This must always be last since it builds on previously defined variables # and installation information. origin_package()