Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
doudou committed Apr 14, 2011
0 parents commit f2afada
Show file tree
Hide file tree
Showing 10 changed files with 107 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# CMakeLists.txt has to be located in the project folder and cmake has to be
# executed from 'project/build' with 'cmake ../'.
cmake_minimum_required(VERSION 2.6)
include(Rock)
rock_init(nav_graph_search 0.1)
rock_standard_layout()
Empty file added INSTALL
Empty file.
Empty file added LICENSE
Empty file.
28 changes: 28 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
NOTE
This directory structure follows some simple rules, to allow for generic build
processes and simplify reuse of this project.

For build automation the project structure should be parsed and validated


STRUCTURE
-- src/
Contains all header (*.h/*.hpp) and source files
-- build/
The target directory for the build process, temporary content
-- resources/
General resources such as images that are needed by the program
-- etc/
Configuration files for running the program
-- external/
When including software that needs a non standard installation process, or one that can be
easily embedded include the external software directly here
|-- include
header files
|-- libs
precompiled libraries
-- doc/
should contain the existing doxygen file: doxygen.conf
|-- manual/
Should contain manual.tex
Manual for the software
22 changes: 22 additions & 0 deletions manifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<package>
<description brief="Algorithms to search trajectories in maps represented as graphs">
This package contains algorithms that allow to search for (optimal) trajectories in traversability maps, in which the search is done on a 8-neighbour graph
</description>
<author>Sylvain Joyeux/[email protected]</author>
<license></license>
<url>http://</url>
<logo>http://</logo>
<!--
To add any dependencies use the depend tag
<depend package="dummy-dependency-0" />
...
<depend package="dummy-dependency-n-1" />
<depend package="dummy-dependency-n" />
-->
<depend package="slam/envire" />
<!--DEPEND-ENTRY-->
<versioncontrol type="git" url="" />
<export>
<cpp cflags="" lflags="" />
</export>
</package>
6 changes: 6 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
rock_library(nav_graph_search
SOURCES dummy.cpp)

rock_executable(nav_graph_search_bin main.cpp
DEPS nav_graph_search)

11 changes: 11 additions & 0 deletions src/dummy.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#include "dummy.h"

namespace DummyProject
{

void DummyClass::welcome()
{
std::cout << "You successfully compiled and executed DummyProject. Welcome!" << std::endl;
}

}
12 changes: 12 additions & 0 deletions src/dummy.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <iostream>

namespace DummyProject
{
class DummyClass
{
public:
void welcome();

};

} // end namespace DummyProject
10 changes: 10 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#include <iostream>
#include "dummy.h"

int main(int argc, char** argv)
{
DummyProject::DummyClass dummyClass;
dummyClass.welcome();

return 0;
}
12 changes: 12 additions & 0 deletions src/nav_graph_search.pc.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_INSTALL_PREFIX@
libdir=${prefix}/lib
includedir=${prefix}/include

Name: @TARGET_NAME@
Description: @PROJECT_DESCRIPTION@
Version: @PROJECT_VERSION@
Depends: @DEPS_PKGCONFIG@
Libs: -L${libdir} -l@TARGET_NAME@
Cflags: -I${includedir}

0 comments on commit f2afada

Please sign in to comment.