aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 0602120fd0930610dd92882ef7c9007781b9dc3b (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
30
31
# CMakeLists.txt for Uri
#
# © 2018 by Richard Walters

cmake_minimum_required(VERSION 3.8)
set(This Uri)

set(Headers
    include/Uri/Uri.hpp
    src/CharacterSet.hpp
    src/PercentEncodedCharacterDecoder.hpp
)

set(Sources
    src/CharacterSet.cpp
    src/PercentEncodedCharacterDecoder.cpp
    src/Uri.cpp
)

add_library(${This} STATIC ${Sources} ${Headers})
set_target_properties(${This} PROPERTIES
    FOLDER Libraries
)

target_include_directories(${This} PUBLIC include)

target_link_libraries(${This} PUBLIC
    StringExtensions
)

add_subdirectory(test)