mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-18 22:50:07 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,24 +10,24 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Create a static library from object files:
|
||||
|
||||
`lib /OUT :{{path/to/library.lib}} {{path/to/file1.obj path/to/file2.obj ...}}`
|
||||
`lib /OUT :{{path o\library.lib}} {{path oile1.obj path oile2.obj ...}}`
|
||||
|
||||
- List the contents of a library:
|
||||
|
||||
`lib /LIST {{path/to/library.lib}}`
|
||||
`lib /LIST {{path o\library.lib}}`
|
||||
|
||||
- Add an object file to an existing library:
|
||||
|
||||
`lib {{path/to/library.lib}} {{path/to/file.obj}}`
|
||||
`lib {{path o\library.lib}} {{path oile.obj}}`
|
||||
|
||||
- Remove an object file from a library:
|
||||
|
||||
`lib /REMOVE :{{path/to/file.obj}} {{path/to/library.lib}}`
|
||||
`lib /REMOVE :{{path oile.obj}} {{path o\library.lib}}`
|
||||
|
||||
- Extract an object file from a library:
|
||||
|
||||
`lib /EXTRACT :{{path/to/file.obj}} {{path/to/library.lib}}`
|
||||
`lib /EXTRACT :{{path oile.obj}} {{path o\library.lib}}`
|
||||
|
||||
- Create an import library from a DLL:
|
||||
|
||||
`lib /DEF :{{path/to/definition.def}} /OUT:{{path/to/import.lib}}`
|
||||
`lib /DEF :{{path o\definition.def}} /OUT:{{path o\import.lib}}`
|
||||
|
||||
Reference in New Issue
Block a user