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)