Skip to content

Commit

Permalink
feat(cxx): replace the cmake build way
Browse files Browse the repository at this point in the history
  • Loading branch information
pplmx committed Nov 20, 2022
1 parent ad75c34 commit c7379b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions template/cxx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ RUN dnf upgrade --refresh -y && \

COPY . .

WORKDIR ./build
RUN cmake .. && cmake --build . --target {{project-name}} --config Release --parallel 8
RUN cmake -B build && cmake --build build --target {{project-name}} --config Release --parallel 8

# DEPLOYING
{% if bin_type == "static" -%}
Expand Down

0 comments on commit c7379b3

Please sign in to comment.