-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCMakeLists.txt
47 lines (41 loc) · 1.24 KB
/
CMakeLists.txt
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
cmake_minimum_required(VERSION 3.13)
cmake_policy(VERSION 3.13)
project(fty-utils
VERSION 1.0.0
)
##############################################################################################################
find_package(fty-cmake PATHS ${CMAKE_BINARY_DIR}/fty-cmake)
##############################################################################################################
##############################################################################################################
etn_target(interface ${PROJECT_NAME}
PUBLIC
fty/command-line.h
fty/convert.h
fty/string-utils.h
fty/traits.h
fty/expected.h
fty/event.h
fty/thread-pool.h
fty/flags.h
fty/process.h
fty/translate.h
fty/timer.h
USES_PUBLIC
fmt::fmt
)
##############################################################################################################
etn_test_target(${PROJECT_NAME}
SOURCES
test/main.cpp
test/split.cpp
test/convert.cpp
test/expected.cpp
test/events.cpp
test/process.cpp
test/translate.cpp
test/timer.cpp
test/thread-pool.cpp
test/command-line.cpp
USES
pthread
)