add CMakeLists.txt

This commit is contained in:
neingeist 2014-04-13 08:37:49 +02:00
parent 9f05ea4f04
commit 59f0145c98

7
CMakeLists.txt Normal file
View file

@ -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)