File tree 8 files changed +2634
-6
lines changed
8 files changed +2634
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ project (DLMS
6
6
LANGUAGES CXX
7
7
)
8
8
9
-
10
9
# Linux 分布式监控系统
11
10
set (CPACK_PACKAGE_NAME DLMS)
12
11
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Distributed Linux monitoring system" )
@@ -15,17 +14,19 @@ set (CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR})
15
14
set (CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH} )
16
15
set (CPACK_PACKAGE_VERSION ${PROJECT_VERSION} )
17
16
18
-
19
-
20
17
message (STATUS ${CPACK_PACKAGE_VERSION} )
21
18
22
19
20
+ add_subdirectory (3rd/glog)
23
21
24
22
23
+ add_executable (dlms src/dlms/dlms.cpp)
24
+ target_include_directories (dlms
25
+ PUBLIC inc
26
+ PUBLIC src/dlms)
25
27
26
-
27
- add_subdirectory (3rd/glog)
28
-
28
+ target_link_libraries (dlms
29
+ PUBLIC glog)
29
30
30
31
31
32
Original file line number Diff line number Diff line change
1
+
2
+ #ifndef GOOGLE_GLOG_DLL_DECL_H
3
+ #define GOOGLE_GLOG_DLL_DECL_H
4
+
5
+ #ifdef GLOG_STATIC_DEFINE
6
+ # define GOOGLE_GLOG_DLL_DECL
7
+ # define GLOG_NO_EXPORT
8
+ #else
9
+ # ifndef GOOGLE_GLOG_DLL_DECL
10
+ # ifdef GOOGLE_GLOG_IS_A_DLL
11
+ /* We are building this library */
12
+ # define GOOGLE_GLOG_DLL_DECL
13
+ # else
14
+ /* We are using this library */
15
+ # define GOOGLE_GLOG_DLL_DECL
16
+ # endif
17
+ # endif
18
+
19
+ # ifndef GLOG_NO_EXPORT
20
+ # define GLOG_NO_EXPORT
21
+ # endif
22
+ #endif
23
+
24
+ #ifndef GLOG_DEPRECATED
25
+ # define GLOG_DEPRECATED __attribute__ ((__deprecated__))
26
+ #endif
27
+
28
+ #ifndef GLOG_DEPRECATED_EXPORT
29
+ # define GLOG_DEPRECATED_EXPORT GOOGLE_GLOG_DLL_DECL GLOG_DEPRECATED
30
+ #endif
31
+
32
+ #ifndef GLOG_DEPRECATED_NO_EXPORT
33
+ # define GLOG_DEPRECATED_NO_EXPORT GLOG_NO_EXPORT GLOG_DEPRECATED
34
+ #endif
35
+
36
+ #if 0 /* DEFINE_NO_DEPRECATED */
37
+ # ifndef GLOG_NO_DEPRECATED
38
+ # define GLOG_NO_DEPRECATED
39
+ # endif
40
+ #endif
41
+
42
+ #endif /* GOOGLE_GLOG_DLL_DECL_H */
You can’t perform that action at this time.
0 commit comments