-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake Project Rename : Update install rules (#8)
- Loading branch information
1 parent
5accecd
commit ecce1c4
Showing
2 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
usr/include/* | ||
usr/lib/*/*.so | ||
usr/lib/*/pkgconfig/*.pc | ||
usr/lib/*/cmake/ignition-msgs*/* | ||
usr/share/ignition/* | ||
usr/lib/ruby/gz/*.rb | ||
usr/lib/*/ruby/ignition/msgs[0-99]/* | ||
usr/lib/*/cmake/*-msgs*/* | ||
usr/share/*/* | ||
usr/lib/ruby/*/*.rb | ||
usr/lib/*/ruby/*/msgs[0-99]/* | ||
usr/lib/*/ruby/gz/msgs[0-99]/* | ||
usr/share/ignition/ignition-msgs*/ignition-msgs[0-9].tag.xml | ||
usr/share/*/*-msgs*/*-msgs[0-9].tag.xml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
# autopkgtest check: Build and run a program against ign-msgs, to verify that the | ||
# autopkgtest check: Build and run a program against gz-msgs, to verify that the | ||
# headers and pkg-config file are installed correctly | ||
# (C) 2012 Jose Luis Rivero | ||
# Author: Jose Luis Rivero <[email protected]> | ||
|
@@ -9,22 +9,22 @@ set -e | |
WORKDIR=$(mktemp -d) | ||
trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM | ||
cd $WORKDIR | ||
cat <<EOF > igntest.c | ||
cat <<EOF > gztest.c | ||
#include <iostream> | ||
#include <ignition/msgs.hh> | ||
#include <gz/msgs.hh> | ||
int main(int argc, char **argv) | ||
{ | ||
ignition::msgs::Int32 foo; | ||
ignition::msgs::StringMsg fee; | ||
gz::msgs::Int32 foo; | ||
gz::msgs::StringMsg fee; | ||
return 0; | ||
} | ||
EOF | ||
|
||
g++ -o igntest igntest.c `pkg-config --cflags --libs ignition-msgs9` | ||
g++ -o gztest gztest.c `pkg-config --cflags --libs gz-msgs9` | ||
echo "build: OK" | ||
[ -x igntest ] | ||
./igntest | ||
[ -x gztest ] | ||
./gztest | ||
echo "run: OK" |