Skip to content

Commit

Permalink
Install binary in project root directory
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanBryan51 committed Jan 23, 2024
1 parent 9496936 commit 43ece5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
*.mod
*.o
build
bin
5 changes: 3 additions & 2 deletions build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,6 @@ if [[ -n $verbose ]]; then
cmake_build_args+=(-v)
fi

cmake -S . -B build "${cmake_args[@]}"
cmake --build build -j 4 "${cmake_build_args[@]}"
cmake -S . -B build "${cmake_args[@]}" &&\
cmake --build build -j 4 "${cmake_build_args[@]}" &&\
cmake --install build --prefix .

0 comments on commit 43ece5b

Please sign in to comment.