Skip to content

Commit

Permalink
cmakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Abc Dr committed Jul 31, 2023
1 parent e7592fa commit 302a6f7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

- name: Build
working-directory: ${{env.SOLUTION_FILE_PATH}}
run: mkdir build && cd build && cmake -DCMAKE_CONFIGURATION_TYPES="Release" .. && make
run: mkdir build && cd build && cmake .. && make

- name: Upload a Build Artifact
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:

- name: Build
working-directory: ${{env.SOLUTION_FILE_PATH}}
run: mkdir build && cd build && cmake -DCMAKE_CONFIGURATION_TYPES="Release" .. && make && mv libasexthook.so asexthook.so
run: mkdir build && cd build && cmake .. && make && mv libasexthook.so asexthook.so

- name: Zipping All
uses: vimtor/action-zip@v1
Expand Down
10 changes: 0 additions & 10 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -223,13 +223,3 @@ if(MSVC)
)
endif()

################################################################################
# Post build events
################################################################################
add_custom_command_if(
TARGET ${PROJECT_NAME}
POST_BUILD
COMMANDS
COMMAND cp "${CMAKE_CURRENT_SOURCE_DIR}/Release/libasexthook.so" "${CMAKE_CURRENT_SOURCE_DIR}/../build/addons/metamod/dlls/"
)

0 comments on commit 302a6f7

Please sign in to comment.