Skip to content

Commit

Permalink
Merge branch 'master' of github.com:asutton/origin
Browse files Browse the repository at this point in the history
  • Loading branch information
asutton committed Jan 29, 2015
2 parents 928043b + 85e95a2 commit 3c7b2ef
Show file tree
Hide file tree
Showing 67 changed files with 881 additions and 199 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Copyright (c) 2008-2013 Andrew Sutton
#
# This file is distributed under the MIT License. See the accompanying file
# LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms
# and conditions.
Expand All @@ -8,7 +6,7 @@ cmake_minimum_required(VERSION 2.8)

# Set the project, required language, and default flags.
project(origin CXX)
set(CMAKE_CXX_FLAGS -std=c++1y)
set(CMAKE_CXX_FLAGS -std=c++1z)

enable_testing()

Expand Down
5 changes: 3 additions & 2 deletions origin/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Copyright (c) 2008-2013 Andrew Sutton
#
# This file is distributed under the MIT License. See the accompanying file
# LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms
# and conditions.

add_subdirectory(core)
add_subdirectory(memory)
add_subdirectory(numeric)
add_subdirectory(sequence)
add_subdirectory(data)
13 changes: 11 additions & 2 deletions origin/core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
# Copyright (c) 2008-2014 Andrew Sutton
#
# This file is distributed under the MIT License. See the accompanying file
# LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms
# and conditions.

add_library(origin-core
traits.cpp
concepts.cpp
function.cpp
type.cpp
)

# FIXME: The tests in this library need to link against
# the origin-core library.

add_subdirectory(concepts.test)
add_subdirectory(function.test)

5 changes: 5 additions & 0 deletions origin/core/concepts.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// This file is distributed under the MIT License. See the accompanying file
// LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms
// and conditions.

#include "concepts.hpp"
Loading

0 comments on commit 3c7b2ef

Please sign in to comment.