Skip to content

Commit

Permalink
Merge branch 'master' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
pattacini committed Jan 31, 2023
2 parents a551b28 + b87672f commit 299a481
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ on:

jobs:
build:
name: '[${{ matrix.os }}@${{ matrix.build_type }}]'
name: '[${{ matrix.os }}@${{ matrix.build_type }}@BUILD_SHARED_LIBS:${{ matrix.build_shared_libs }}]'
runs-on: ${{ matrix.os }}
strategy:
matrix:
build_type: [Release]
os: [ubuntu-latest, windows-latest, macOS-latest]
build_shared_libs: [ON, OFF]

steps:
- name: Checkout the code
Expand Down Expand Up @@ -152,6 +153,7 @@ jobs:
cmake -A x64 -DCMAKE_TOOLCHAIN_FILE=${VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake \
-DCMAKE_PREFIX_PATH=${GITHUB_WORKSPACE}/install \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-DBUILD_SHARED_LIBS:BOOL=${{ matrix.build_shared_libs }} \
-DICUB_USE_icub_firmware_shared:BOOL=ON \
-DENABLE_icubmod_serial:BOOL=ON \
-DENABLE_icubmod_serialport:BOOL=ON \
Expand Down Expand Up @@ -186,6 +188,7 @@ jobs:
cd build
cmake -DCMAKE_PREFIX_PATH=${GITHUB_WORKSPACE}/install \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-DBUILD_SHARED_LIBS:BOOL=${{ matrix.build_shared_libs }} \
-DICUB_USE_icub_firmware_shared:BOOL=ON \
-DENABLE_icubmod_serial:BOOL=ON \
-DENABLE_icubmod_serialport:BOOL=ON \
Expand Down
2 changes: 0 additions & 2 deletions src/tools/canLoader/canLoader-console/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ file(GLOB folder_header *.h)
source_group("Source Files" FILES ${folder_source})
source_group("Header Files" FILES ${folder_header})

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../canLoaderLib)

add_executable(${PROJECT_NAME} ${folder_header} ${folder_source})

target_link_libraries(${PROJECT_NAME} canLoaderLib)
Expand Down
4 changes: 2 additions & 2 deletions src/tools/strainCalib/strainCalibLib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ source_group("Source Files" FILES ${folder_source})
source_group("Header Files" FILES ${folder_header})

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../ethLoader/ethLoaderLib)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../canLoader/canLoaderLib)

add_library(${PROJECT_NAME} ${folder_source} ${folder_header})

target_link_libraries(${PROJECT_NAME} YARP::YARP_os
YARP::YARP_dev
ACE::ACE
icub_firmware_shared::embobj)
icub_firmware_shared::embobj
canLoaderLib)
target_include_directories(${PROJECT_NAME} PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>"
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>")

Expand Down

0 comments on commit 299a481

Please sign in to comment.