Skip to content

Commit

Permalink
[ignition-common3] Add new port 🤖 (#11273)
Browse files Browse the repository at this point in the history
* [ignition-common3] Add new port

* Update ports/ignition-common3/portfile.cmake

Co-authored-by: Phoebe <[email protected]>

Co-authored-by: Phoebe <[email protected]>
  • Loading branch information
traversaro and PhoebeHui authored Jan 5, 2021
1 parent 63de431 commit d2e0939
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ports/ignition-common3/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Source: ignition-common3
Version: 3.9.0
Build-Depends: dlfcn-win32 (windows|uwp), ffmpeg, freeimage, gts, ignition-cmake2, ignition-math6, ignition-modularscripts, libuuid (!windows&!uwp), tinyxml2
Homepage: https://ignitionrobotics.org/libs/common
Description: Common libraries for robotics applications
12 changes: 12 additions & 0 deletions ports/ignition-common3/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
include(${CURRENT_INSTALLED_DIR}/share/ignitionmodularscripts/ignition_modular_library.cmake)

ignition_modular_library(NAME common
VERSION "3.9.0"
SHA512 8d052850cbb125e334494c9ad9b234c371fe310327dba997515651f29479d747dffa55b0aa822f2a78e6317a4df2d41389c7a07165cdc08894fdfb116e4d9756)

# Remove non-relocatable helper scripts (see https://github.com/ignitionrobotics/ign-common/issues/82)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin/ign_remotery_vis" "${CURRENT_PACKAGES_DIR}/debug/bin/ign_remotery_vis")

if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()

0 comments on commit d2e0939

Please sign in to comment.