Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
perception
imagine-planner
Commits
e4f9bc30
Commit
e4f9bc30
authored
Jan 12, 2018
by
Alejandro Suarez Hernandez
Browse files
Erwan changes
parent
d7c0e0e6
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
e4f9bc30
...
...
@@ -3,17 +3,17 @@ SET(sources imagine-planner.cpp types.cpp queries.cpp effects.cpp domains.cpp pa
# application header files
SET
(
headers imagine-planner.h types.h queries.h effects.h domains.h parsing.h
)
# Ades
SET
(
CMAKE_MODULE_PATH /usr/lib/cmake/
lib
ades
)
FIND_PACKAGE
(
libimagine-ades
)
SET
(
CMAKE_MODULE_PATH /usr/
local/
lib/cmake/ades
)
FIND_PACKAGE
(
ADES
)
# Boost
FIND_PACKAGE
(
Boost REQUIRED COMPONENTS system serialization filesystem unit_test_framework
)
# locate the necessary dependencies
# add the necessary include directories
INCLUDE_DIRECTORIES
(
.
${
Boost_INCLUDE_DIR
}
${
LIBIMAGINE-
ADES_INCLUDE_DIRS
}
)
INCLUDE_DIRECTORIES
(
.
${
Boost_INCLUDE_DIR
}
${
ADES_INCLUDE_DIRS
}
)
# create the shared library
ADD_LIBRARY
(
imagine-planner SHARED
${
sources
}
)
# link necessary libraries
TARGET_LINK_LIBRARIES
(
imagine-planner
${
LIBIMAGINE-
ADES_LIBRARIES
}
)
TARGET_LINK_LIBRARIES
(
imagine-planner
${
ADES_LIBRARIES
}
)
INSTALL
(
TARGETS imagine-planner
RUNTIME DESTINATION bin
...
...
src/domains.cpp
View file @
e4f9bc30
#include
"domains.h"
#include
<sstream>
#include
<
lib
ades/libades.h>
#include
<ades/libades.h>
namespace
imagine_planner
{
...
...
src/examples/CMakeLists.txt
View file @
e4f9bc30
...
...
@@ -4,7 +4,7 @@ ADD_EXECUTABLE(imagine-planner_test imagine-planner_test.cpp)
TARGET_LINK_LIBRARIES
(
imagine-planner_test
imagine-planner
${
Boost_LIBRARIES
}
${
LIBIMAGINE-
ADES_LIBRARIES
}
)
${
ADES_LIBRARIES
}
)
ADD_EXECUTABLE
(
types_test types_test.cpp
)
TARGET_LINK_LIBRARIES
(
types_test
...
...
@@ -30,5 +30,5 @@ ADD_EXECUTABLE(domains_test domains_test.cpp)
TARGET_LINK_LIBRARIES
(
domains_test
imagine-planner
${
Boost_LIBRARIES
}
${
LIBIMAGINE-
ADES_LIBRARIES
}
)
${
ADES_LIBRARIES
}
)
src/examples/domains_test.cpp
View file @
e4f9bc30
...
...
@@ -3,7 +3,7 @@
#include
<boost/test/unit_test.hpp>
#include
"domains.h"
#include
<
lib
ades/libades.h>
#include
<ades/libades.h>
#include
<iostream>
using
namespace
imagine_planner
;
...
...
src/examples/imagine-planner_test.cpp
View file @
e4f9bc30
#include
"imagine-planner.h"
#include
<
lib
ades/libades.h>
#include
<ades/libades.h>
#include
<iostream>
#include
<unordered_set>
using
namespace
imagine_planner
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment