-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathCMakeLists.txt
51 lines (48 loc) · 1.7 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
48
49
50
51
cmake_minimum_required(VERSION 3.0.0)
project(browser_fingerprint VERSION 0.1.0 LANGUAGES C CXX)
set(sources
"fingerprint/crypt/base64.cc"
"fingerprint/crypt/base64.h"
"fingerprint/crypt/bcrypt.cc"
"fingerprint/crypt/bcrypt.h"
"fingerprint/crypt/blowfish.cc"
"fingerprint/crypt/node_blf.h"
"fingerprint/crypt/openbsd.h"
"fingerprint/crypt/twofishcpp.cc"
"fingerprint/crypt/twofishcpp.h"
"fingerprint/crypt/twofish.c"
"fingerprint/crypt/twofish.h"
"fingerprint/fingerprint_context.cc"
"fingerprint/fingerprint_context.h"
"fingerprint/fingerprint_switches.h"
"fingerprint/internal/apply_float_noise.h"
"fingerprint/internal/uniform_float_distribution.h"
"fingerprint/internal/uniform_int_distribution.h"
"fingerprint/internal/string_algorithm.cc"
"fingerprint/internal/string_algorithm.h"
"fingerprint/navigator.h"
"fingerprint/services/context.cc"
"fingerprint/services/context.h"
"fingerprint/services/path_service.cc"
"fingerprint/services/path_service.h"
"fingerprint/services/settings_service.cc"
"fingerprint/services/settings_service.h"
"fingerprint/services/use_service.h"
"fingerprint/settings.cc"
"fingerprint/settings.h"
"fingerprint/settings_keys.h"
"fingerprint/webgl_noise.h"
"fingerprint/webgl_renderer.cc"
"fingerprint/webgl_renderer.h"
"fingerprint/webrtc.cc"
"fingerprint/webrtc.h"
"fingerprint/utility.cc"
"fingerprint/utility.h"
)
set(fingerprint ${PROJECT_NAME})
add_library(${fingerprint} ${sources})
target_compile_features(${fingerprint} PUBLIC cxx_std_20)
target_include_directories(${fingerprint} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
# for developing
add_executable(main "fingerprint/main.cc")
target_link_libraries(main ${fingerprint})