Skip to content

Commit

Permalink
Attempting adding a library prefix to move MSVC output out of build-s…
Browse files Browse the repository at this point in the history
…pecific directory

Signed-off-by: Bhavye Mathur <[email protected]>
  • Loading branch information
BhavyeMathur committed Jan 11, 2024
1 parent 32ba158 commit d6e4cac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Build goopylib
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -j 8 --target goopylib
run: cmake --build ${{github.workspace}}/build -j 8 --target goopylib

- name: Upload Binaries
uses: test-room-7/action-update-file@v1
Expand Down
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,7 @@ if (MSVC)
set_target_properties(goopylib PROPERTIES LIBRARY_OUTPUT_DIRECTORY_DEBUG ${CMAKE_SOURCE_DIR}/binaries/lib-${GOOPYLIB_PLATFORM_NAME})
set_target_properties(goopylib PROPERTIES LIBRARY_OUTPUT_DIRECTORY_RELEASE ${CMAKE_SOURCE_DIR}/binaries/lib-${GOOPYLIB_PLATFORM_NAME})

set_target_properties(goopylib PROPERTIES DEBUG_POSTFIX “”)
set_target_properties(goopylib PROPERTIES RELWITHDEBINFO_POSTFIX “”)
set_target_properties(goopylib PROPERTIES RELEASE_POSTFIX “”)
set_target_properties(goopylib PROPERTIES PREFIX ../)
endif ()

if (APPLE)
Expand Down

0 comments on commit d6e4cac

Please sign in to comment.