You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-94Lines changed: 16 additions & 94 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,12 @@
2
2
3
3
cmkr, pronounced "cmaker", is A CMakeLists.txt generator from TOML.
4
4
5
+
See the [cmkr topic](https://github.com/topics/cmkr) for examples. Feel free to add the `cmkr` topic to your projects if you used cmkr!
**NOTE**: The documentation is currently a work-in-progress due to breaking changes since `0.1.4`. For examples you can check the [cmkr topic](https://github.com/topics/cmkr).
123
36
124
37
The cmkr executable can be run from the command-line:
38
+
125
39
```
126
40
Usage: cmkr [arguments]
127
41
arguments:
@@ -133,28 +47,36 @@ arguments:
133
47
help Show help.
134
48
version Current cmkr version.
135
49
```
50
+
136
51
The build command invokes cmake and the default build-system on your platform (unless a generator is specified), it also accepts extra cmake build arguments:
52
+
137
53
```
138
54
cmkr build --config Release
139
55
```
140
56
141
57
## Binary types
142
58
143
59
### executable
60
+
144
61
Executable binary. Equivalent to [add_executable(name)](https://cmake.org/cmake/help/latest/command/add_executable.html).
145
62
146
63
### library
64
+
147
65
Library, can be static or shared depending on the BUILD_SHARED_LIBS variable. Equivalent to [add_library()](https://cmake.org/cmake/help/latest/command/add_library.html).
148
66
149
67
### static
68
+
150
69
Static library/archive. Equivalent to [add_library(name STATIC)](https://cmake.org/cmake/help/latest/command/add_library.html).
151
70
152
71
### shared
72
+
153
73
Shared/dynamic library. Equivalent to [add_library(name SHARED)](https://cmake.org/cmake/help/latest/command/add_library.html).
154
74
155
75
### interface
76
+
156
77
Header-only library. Equivalent to [add_library(name INTERFACE)](https://cmake.org/cmake/help/latest/command/add_library.html).
0 commit comments