Skip to content

Commit

Permalink
CMake Project Rename : Update install rules (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
methylDragon authored Jun 22, 2022
1 parent 5accecd commit ecce1c4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions ubuntu/debian/libignition-msgs-dev.install
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
16 changes: 8 additions & 8 deletions ubuntu/debian/tests/build
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]>
Expand All @@ -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"

0 comments on commit ecce1c4

Please sign in to comment.