cmake_minimum_required(VERSION 2.8)
project(hello_static)

set(LIBDIR lib CACHE path "Destination for library")
set(INCLUDEDIR include CACHE path "Destination for headers")

set(hello_static_src src/hello_static.cpp)
set(hello_static_hdr include/hello_static.hpp)

include_directories(include)

add_library(hello_static STATIC ${hello_static_src})

install(TARGETS hello_static DESTINATION ${LIBDIR})
install(FILES ${hello_static_hdr} DESTINATION ${INCLUDEDIR})

