2014-04-13 10:03:49 +02:00
|
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
|
2014-04-13 08:37:49 +02:00
|
|
|
# Build options
|
|
|
|
set(CMAKE_CXX_COMPILER "clang++")
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra -Weffc++")
|
|
|
|
|
2014-04-13 08:59:28 +02:00
|
|
|
add_executable(typetest typetest.cpp)
|
2014-04-13 08:37:49 +02:00
|
|
|
add_executable(auto_ptr auto_ptr.cpp)
|
|
|
|
add_executable(unique_ptr unique_ptr.cpp)
|
2014-04-13 09:10:08 +02:00
|
|
|
add_executable(list-initializers list-initializers.cpp)
|
2014-04-13 09:48:04 +02:00
|
|
|
add_executable(array-bounds array-bounds.cpp)
|
2014-04-13 10:03:09 +02:00
|
|
|
add_executable(accumulate accumulate.cpp)
|