Skip to content

Commit

Permalink
chore: 移动binding文件夹,改由cmake进行安装
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Oct 23, 2023
1 parent 8019001 commit 023412d
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 11 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ jobs:
cp -r docs install
cp -r binding install
cp -r sample install
rm -r install/sample/cpp/*.vcxproj install/sample/cpp/CMakeLists.txt
Expand Down Expand Up @@ -202,8 +200,6 @@ jobs:
cp -r docs install
cp -r binding install
cp -r sample install
rm -r install/sample/cpp/*.vcxproj install/sample/cpp/CMakeLists.txt
Expand Down Expand Up @@ -274,8 +270,6 @@ jobs:
cp -r docs install
cp -r binding install
cp -r sample install
rm -r install/sample/cpp/*.vcxproj install/sample/cpp/CMakeLists.txt
Expand Down
4 changes: 0 additions & 4 deletions sample/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
add_executable(sample main.cpp)

target_link_libraries(sample MaaFramework MaaToolKit)

add_dependencies(sample AssetsAgentBinary AssetsResource)

install(TARGETS sample RUNTIME DESTINATION share)
4 changes: 3 additions & 1 deletion source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ add_subdirectory(MaaToolKit)

if(WITH_GRPC)
add_subdirectory(MaaRpc)
endif(WITH_GRPC)
endif(WITH_GRPC)

add_subdirectory(binding)
1 change: 1 addition & 0 deletions source/binding/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/Python" DESTINATION binding)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 023412d

Please sign in to comment.