Commit bc4551b5 authored by Milo Yip's avatar Milo Yip

Merge pull request #405 from ziyangli/patch-1

added missing fields of CMakeList.txt
parents 8498c785 45697529
# Copyright (c) 2011 Milo Yip (miloyip@gmail.com)
# Copyright (c) 2013 Rafal Jeczalik (rjeczalik@gmail.com)
# Distributed under the MIT License (see license.txt file)
cmake_minimum_required(VERSION 2.8)
set(EXAMPLES
capitalize
......@@ -13,6 +14,8 @@ set(EXAMPLES
simplereader
simplewriter
tutorial)
include_directories("../include/")
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wall -Wextra -Weffc++ -Wswitch-default")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment