aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 3c526f37b4e7fb03b3d8fff5d288d10a96fef4df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cmake_minimum_required(VERSION 2.8)
project(CodepointIterator)

set(
	CMAKE_CXX_FLAGS
	"-std=c++14 -W -Wall -Wextra -Winline -pedantic"
)

include_directories(
	src/
)

add_executable(
	test
	test.cc
	src/codepoint_iterator.cc
)

target_link_libraries(
	test
	gtest
)

add_custom_command(
	TARGET test
	POST_BUILD COMMAND ./test
)