File tree 3 files changed +77
-0
lines changed 3 files changed +77
-0
lines changed Original file line number Diff line number Diff line change
1
+ cmake-build *
2
+ * .project
3
+ * .workspace
4
+ .cproject
5
+ .project
6
+ .settings
7
+ .codelit * /*
8
+ * ~
9
+ * /* ~
10
+ * /* /* ~
11
+ # Visual Studio files
12
+ * . [Oo ]bj
13
+ * .user
14
+ * .aps
15
+ * .pch
16
+ .vscod * /*
17
+ build_win /*
18
+ * .vspscc
19
+ * .vssscc
20
+ * _i.c
21
+ * _p.c
22
+ * .ncb
23
+ * .suo
24
+ * .tlb
25
+ * .tlh
26
+ * .bak
27
+ * . [Cc ]ache
28
+ * .ilk
29
+ * .log
30
+ * .lib
31
+ * .sbr
32
+ * .sdf
33
+ * .opensdf
34
+ * .unsuccessfulbuild
35
+ ipch /
36
+ [Oo ]bj /
37
+ [Bb ]in
38
+ [Dd ]ebug * /
39
+ [Rr ]elease * /
40
+ Ankh.NoLoad
41
+ * .o
42
+ * .ipch
43
+ * .log
44
+ main
45
+
46
+ .vs /libplctag /v15 /Browse.VC.db
47
+ .vs /libplctag /v15 /Browse.VC.opendb
48
+ .vs /ProjectSettings.json
49
+ .vs /slnx.sqlite
50
+ .vs /VSWorkspaceState.json
51
+ src /lib /version.h
52
+ temp.c
53
+ /.vs /libplctag /v16 /Browse.VC.db
54
+ /.vs /libplctag /v16 /Browse.VC.opendb
55
+ /out /build /x64-Debug
56
+ /out /build /ARM64
57
+ /CMakeSettings.json
58
+ build /*
59
+ /.vs
60
+ src /.DS_Store
61
+ .DS_Store
Original file line number Diff line number Diff line change
1
+ cmake_minimum_required (VERSION 3.0.0)
2
+ project (plc_comm VERSION 0.1.0 LANGUAGES C)
3
+
4
+ add_library (plc_comm src/plc_comm.c)
5
+
6
+ include (CTest)
7
+ enable_testing ()
8
+
9
+ set (CPACK_PROJECT_NAME ${PROJECT_NAME} )
10
+ set (CPACK_PROJECT_VERSION ${PROJECT_VERSION} )
11
+ include (CPack)
Original file line number Diff line number Diff line change
1
+ #include <stdio.h>
2
+
3
+ void say_hello (){
4
+ printf ("Hello, from plc_comm!\n" );
5
+ }
You can’t perform that action at this time.
0 commit comments