You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
536 B
CMake
15 lines
536 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
|
|
# 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++")
|
|
|
|
add_executable(typetest typetest.cpp)
|
|
add_executable(auto_ptr auto_ptr.cpp)
|
|
add_executable(unique_ptr unique_ptr.cpp)
|
|
add_executable(list-initializers list-initializers.cpp)
|
|
add_executable(array-bounds array-bounds.cpp)
|
|
add_executable(accumulate accumulate.cpp)
|
|
add_executable(object-lifetime object-lifetime.cpp)
|