-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
43 lines (36 loc) · 993 Bytes
/
CMakeLists.txt
File metadata and controls
43 lines (36 loc) · 993 Bytes
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
cmake_minimum_required(VERSION 3.13)
project(FlowUtils)
set(CMAKE_CXX_STANDARD 17)
set(SOURCE
FlowArgParser.h
FlowCParser.h
FlowEscape.h
FlowFile.h
FlowInterface.h
FlowLog.h
FlowParser.h
FlowSParser.h
FlowString.h
FlowUUID.h
FlowVParser.h
MultiSemaphore.h
Semaphore.h
ThreadPool.h
UrlEscape.h
base64.h
FlowJson.h
FlowOpenSSL.h
PriorityThreadPool.h
FlowRandom.h WorkerPool.h Worker.h FlowArgon2.h FlowExec.h IdleManager.h IdleObject.h FlowTime.h LifetimeClock.h)
add_library(FlowUtils OBJECT ${SOURCE})
set_target_properties(FlowUtils PROPERTIES PUBLIC_HEADER
"${SOURCE}"
)
if (UNIX)
install(TARGETS FlowUtils
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
PUBLIC_HEADER DESTINATION include/${CMAKE_PROJECT_NAME}
ARCHIVE DESTINATION lib
)
endif ()