-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
61 lines (48 loc) · 1.61 KB
/
CMakeLists.txt
File metadata and controls
61 lines (48 loc) · 1.61 KB
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
52
53
54
55
56
57
58
59
cmake_minimum_required(VERSION 2.6)
project(selenium++)
add_library(selenium++
SHARED
src/assoc.hpp
src/http.cpp
src/seleniumanswer.cpp
src/restio.cpp
src/selenium.cpp
src/capabilities.cpp
src/utils.cpp
src/jsonengine.cpp
src/session.cpp
src/element.cpp
src/log.cpp
src/cookie.cpp
)
#add_executable(wdtests
# tests/tests_wd.cpp
# tests/tests_session.cpp
# tests/tests_element.cpp
#
#)
find_library (CURL curl)
#find_library(JSON json)
target_link_libraries(
selenium++
curl
)
#target_link_libraries(
# wdtests
# selenium++
#)
install (TARGETS selenium++ DESTINATION lib)
install (FILES src/selenium.hpp DESTINATION include/selenium)
install (FILES src/session.hpp DESTINATION include/selenium)
install (FILES src/capabilities.hpp DESTINATION include/selenium)
install (FILES src/element.hpp DESTINATION include/selenium)
install (FILES src/jsonengine.hpp DESTINATION include/selenium)
install (FILES src/http.hpp DESTINATION include/selenium)
install (FILES src/restio.hpp DESTINATION include/selenium)
install (FILES src/seleniumanswer.hpp DESTINATION include/selenium)
install (FILES src/utils.hpp DESTINATION include/selenium)
install (FILES src/assoc.hpp DESTINATION include/selenium)
install (FILES src/globals.hpp DESTINATION include/selenium)
install (FILES src/log.hpp DESTINATION include/selenium)
install (FILES src/cookie.hpp DESTINATION include/selenium)
install (FILES src/exceptions.hpp DESTINATION include/selenium)