blob: 9172e4f6a1ce0459395a830355af1be05b717b4e (
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
|
# CMakeLists.txt for Uri
#
# © 2018 by Richard Walters
cmake_minimum_required(VERSION 3.8)
set(This Uri)
set(Headers
include/Uri/Uri.hpp
src/IsCharacterInSet.hpp
src/NormalizeCaseInsensitiveString.hpp
src/PercentEncodedCharacterDecoder.hpp
)
set(Sources
src/IsCharacterInSet.cpp
src/NormalizeCaseInsensitiveString.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)
add_subdirectory(test)
|