Skip to content

Commit

Permalink
Update install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
keith committed Nov 15, 2021
1 parent 72953b8 commit 39b5d77
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ cmake_minimum_required(VERSION 3.21)

set(CMAKE_EXPORT_COMPILE_COMMANDS 1)

if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE
"RelWithDebInfo"
CACHE STRING "Default build type: RelWithDebInfo" FORCE)
endif()

add_executable(dyld-shared-cache-extractor dyld-shared-cache-extractor.c)
target_compile_options(dyld-shared-cache-extractor PRIVATE -g -Weverything)
install(TARGETS dyld-shared-cache-extractor)
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ dyld-shared-cache-extractor /System/Library/dyld/dyld_shared_cache_arm64e /tmp/l
brew install keith/formulae/dyld-shared-cache-extractor
```

Manually, after [installing rust](https://rustup.rs):
Manually:

```sh
cargo install --locked --path .
cmake -B build
cmake --build build
cmake --install build
```

## More details
Expand Down

0 comments on commit 39b5d77

Please sign in to comment.