This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#============================================================================= | |
# Copyright 2014, 2016 iCub Facility, Istituto Italiano di Tecnologia | |
# Authors: Daniele E. Domenichelli <daniele.domenichelli@iit.it> | |
# | |
# Distributed under the OSI-approved BSD License (the "License"); | |
# see accompanying file Copyright.txt for details. | |
# | |
# This software is distributed WITHOUT ANY WARRANTY; without even the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.0) | |
project(foo) | |
find_package(YARP REQUIRED) | |
add_library(foo SHARED foo.cpp foo.h) | |
target_link_libraries(foo PRIVATE dl) | |
add_library(bar STATIC bar.cpp bar.h) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.5) | |
cmake_policy(SET CMP0074 NEW) | |
project(test_thrift_list_i8) | |
find_package(YARP 3.1.100 COMPONENTS OS sig idl_tools REQUIRED) | |
yarp_add_idl(FOO test.thrift) | |
add_executable(test_thrift_list_i8 main.cpp ${FOO}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# for repo in $(~/Workspace/iit/src/robotology.github.io/scripts/list-all-repos.py); do | |
rm -f out.txt | |
for repo in $(cat ../vvv-repo-list.txt); do | |
echo "REPO: $repo" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Bar.h" | |
bool Bar::configure(yarp::os::ResourceFinder &rf) | |
{ | |
if (!rpcService.open("/test_thrift_return_vector")) { | |
return false; | |
} | |
return this->yarp().attachAsServer(rpcService); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <yarp/os/Network.h> | |
#include <yarp/os/Port.h> | |
#include <yarp/os/Bottle.h> | |
#include <yarp/os/LogStream.h> | |
#include <yarp/os/ConnectionReader.h> | |
#include <yarp/sig/Vector.h> | |
#include <thread> | |
#include <chrono> | |
using namespace std::chrono_literals; |