From 59f0145c98348d642e47bbe64bf680974a82f66b Mon Sep 17 00:00:00 2001 From: neingeist Date: Sun, 13 Apr 2014 08:37:49 +0200 Subject: [PATCH] add CMakeLists.txt --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..fe9eea8 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,7 @@ +# 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(auto_ptr auto_ptr.cpp) +add_executable(unique_ptr unique_ptr.cpp)