Skip to content

Commit e035efc

Browse files
committed
Improve usage output
1 parent 0fee2e4 commit e035efc

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,27 @@ brew install mulle-kybernetik/software/mulle-xcode-to-cmake
2929
usage: mulle-xcode-to-cmake [options] <commands> <file.xcodeproj>
3030
3131
Options:
32-
-2 : CMakeLists.txt includes CMakeSourcesAndHeaders.txt
33-
-a : always prefix cmake variables with target
34-
-b : suppress boilerplate definitions
35-
-d : create static and shared library
36-
-f : suppress Foundation (implicitly added)
37-
-l <lang> : specify language (c,c++,objc) for mulle-configuration (default: objc)
38-
-m : include mulle-configuration (affects boilerplate)
39-
-n : suppress find_library trace
40-
-p : suppress project
41-
-r : suppress reminder, what generated this file
42-
-s <suffix> : create standalone test library (framework/shared)
43-
-t <target> : target to export
44-
-u : add UIKIt
32+
-2 : CMakeLists.txt includes CMakeSourcesAndHeaders.txt
33+
-a : always prefix cmake variables with target
34+
-b : suppress boilerplate definitions
35+
-d : create static and shared library
36+
-f : suppress Foundation (implicitly added)
37+
-l <lang> : specify language (c,c++,objc) for mulle-configuration (default: objc)
38+
-m : include mulle-configuration (affects boilerplate)
39+
-n : suppress find_library trace
40+
-p : suppress project
41+
-r : suppress reminder, what generated this file
42+
-s <suffix> : create standalone test library (framework/shared)
43+
-t <target> : target to export
44+
-u : add UIKIt
4545
4646
Commands:
47-
export : export CMakeLists.txt to stdout
48-
list : list targets
49-
sexport : export sources and private/public headers only
47+
export : export CMakeLists.txt to stdout
48+
list : list targets
49+
sexport : export CMakeSourcesAndHeaders.txt to stdout
5050
5151
Environment:
52-
VERBOSE : dump some info to stderr
52+
VERBOSE : dump some info to stderr
5353
```
5454

5555
### Examples

mulle-xcode-to-cmake.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@
367367
1DEB927908733DD40010E9CD /* Debug */ = {
368368
isa = XCBuildConfiguration;
369369
buildSettings = {
370-
CURRENT_PROJECT_VERSION = 0.6.1;
370+
CURRENT_PROJECT_VERSION = 0.6.2;
371371
DEBUG_INFORMATION_FORMAT = dwarf;
372372
DYLIB_COMPATIBILITY_VERSION = "$(CURRENT_PROJECT_VERSION)";
373373
DYLIB_CURRENT_VERSION = 0.0.0;
@@ -388,7 +388,7 @@
388388
1DEB927A08733DD40010E9CD /* Release */ = {
389389
isa = XCBuildConfiguration;
390390
buildSettings = {
391-
CURRENT_PROJECT_VERSION = 0.6.1;
391+
CURRENT_PROJECT_VERSION = 0.6.2;
392392
DEBUG_INFORMATION_FORMAT = dwarf;
393393
DYLIB_COMPATIBILITY_VERSION = "$(CURRENT_PROJECT_VERSION)";
394394
DYLIB_CURRENT_VERSION = 0.0.0;

src/mulle-xcode-to-cmake/main.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ static void usage()
182182
"Commands:\n"
183183
"\texport : export CMakeLists.txt to stdout\n"
184184
"\tlist : list targets\n"
185-
"\tsexport : export sources and private/public headers only\n"
185+
"\tsexport : export CMakeSourcesAndHeaders.txt to stdout\\n"
186186
"\n"
187187
"Environment:\n"
188188
"\tVERBOSE : dump some info to stderr\n"

0 commit comments

Comments
 (0)