Skip to content

Commit

Permalink
Revert "output bould library in the right directory"
Browse files Browse the repository at this point in the history
This reverts commit 13d249c.
  • Loading branch information
PrevuMax committed Dec 11, 2021
1 parent 4fab68b commit a31bef9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions build_mtree.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
py -3.9 m_tree/install.py

COPY ".\m_tree\binaries\Release\m_tree.cp39-win_amd64.pyd" "./m_tree.cp39-win_amd64.pyd"

PAUSE


2 changes: 2 additions & 0 deletions build_mtree.osx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
python3 m_tree/install.py
cp ./m_tree/binaries/m_tree.cpython-39-darwin.so ./m_tree.cpython-39-darwin.so



1 change: 1 addition & 0 deletions build_mtree.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
python3 m_tree/install.py
cp ./m_tree/binaries/m_tree.cpython-39-x86_64-linux-gnu.so ./m_tree.cpython-39-x86_64-linux-gnu.so



3 changes: 1 addition & 2 deletions m_tree/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_TOOLCHAIN_FILE ./dependencies/vcpkg/scripts/buildsystems/vcpkg.cmake)

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/binaries)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE ${CMAKE_SOURCE_DIR}/../)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG ${CMAKE_SOURCE_DIR}/../)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/binaries)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/binaries)

project(m_tree)
Expand Down

0 comments on commit a31bef9

Please sign in to comment.