blob: ab5ca790ed09a16752f4711b0560e6e4615d1a15 (
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
|
# 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/PercentEncodedCharacterDecoder.hpp
)
set(Sources
src/IsCharacterInSet.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)
|