aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: d764ffe6b7e900a8f24309cc23fa2840908d8d32 (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
    SystemAbstractions
)

add_subdirectory(test)