Skip to content

Commit

Permalink
Use ign_install_all_headers in example
Browse files Browse the repository at this point in the history
Confirm location of auto-generated headers by including
them from AlmostEmpty.cc

Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters committed Nov 11, 2021
1 parent 6c2ffe5 commit 6787937
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/no_ignition_prefix/include/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
add_subdirectory(no_ign)
1 change: 1 addition & 0 deletions examples/no_ignition_prefix/include/no_ign/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ign_install_all_headers()
Empty file.
2 changes: 2 additions & 0 deletions examples/no_ignition_prefix/src/AlmostEmpty.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*
*/

#include <no_ignition_prefix.hh>
#include <no_ign/config.hh>
#include <no_ign/Export.hh>

namespace no_ignition_prefix
Expand Down

0 comments on commit 6787937

Please sign in to comment.