blob: d43a1aa75175c19392553641078e417ac436709d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
cmake_minimum_required(VERSION 3.5) # for Boost::* imported targets
project(winapi_utf8 CXX)
include(cmake/common.cmake)
file(GLOB_RECURSE winapi_utf8_include "include/*.hpp")
file(GLOB winapi_utf8_src "src/*.cpp")
add_library(winapi_utf8 ${winapi_utf8_include} ${winapi_utf8_src})
target_include_directories(winapi_utf8 PUBLIC include/)
install(TARGETS winapi_utf8 LIBRARY DESTINATION lib)
if(WINAPI_UTF8_ENABLE_TESTS)
add_subdirectory(test)
endif()
install(FILES LICENSE.txt DESTINATION share)
|