aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 656fe912f6c06e91f9c98b13e4daaea0b7aa3938 (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
28
29
cmake_minimum_required(VERSION 2.8)
project(justify)

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

include_directories(
	src/
)

add_executable(
	justify
		justify.cc
		src/line_accumulator.cc
)

target_link_libraries(
	justify
		boost_program_options
)

install(
	TARGETS
		justify
	DESTINATION
		bin
)