Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
patate
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Packages
Packages
Container Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
patate
patate
Commits
e87b29ca
Commit
e87b29ca
authored
Jun 08, 2015
by
Simon Boyé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added per-patate examples build target. The target examples still works as before.
parent
2400405d
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
31 additions
and
16 deletions
+31
-16
examples/CMakeLists.txt
examples/CMakeLists.txt
+4
-0
examples/Grenaille/CMakeLists.txt
examples/Grenaille/CMakeLists.txt
+2
-0
examples/Grenaille/cpp/CMakeLists.txt
examples/Grenaille/cpp/CMakeLists.txt
+4
-3
examples/Grenaille/pcl/CMakeLists.txt
examples/Grenaille/pcl/CMakeLists.txt
+2
-1
examples/Vitelotte/CMakeLists.txt
examples/Vitelotte/CMakeLists.txt
+3
-0
examples/Vitelotte/common/CMakeLists.txt
examples/Vitelotte/common/CMakeLists.txt
+2
-1
examples/Vitelotte/mvg_editor/CMakeLists.txt
examples/Vitelotte/mvg_editor/CMakeLists.txt
+2
-1
examples/Vitelotte/mvg_viewer/CMakeLists.txt
examples/Vitelotte/mvg_viewer/CMakeLists.txt
+1
-2
examples/Vitelotte/mvgtk/CMakeLists.txt
examples/Vitelotte/mvgtk/CMakeLists.txt
+2
-1
examples/Vitelotte/tutorial/CMakeLists.txt
examples/Vitelotte/tutorial/CMakeLists.txt
+2
-1
readme
readme
+7
-6
No files found.
examples/CMakeLists.txt
View file @
e87b29ca
...
...
@@ -7,4 +7,8 @@ include_directories(${CMAKE_SOURCE_DIR})
add_custom_target
(
examples
)
add_subdirectory
(
Grenaille
)
add_dependencies
(
examples grenaille_examples
)
add_subdirectory
(
Vitelotte
)
add_dependencies
(
examples vitelotte_examples
)
examples/Grenaille/CMakeLists.txt
View file @
e87b29ca
OPTION
(
CompilePCLExample
"CompilePCLExample"
OFF
)
add_custom_target
(
grenaille_examples
)
add_subdirectory
(
cpp
)
if
(
CompilePCLExample
)
...
...
examples/Grenaille/cpp/CMakeLists.txt
View file @
e87b29ca
...
...
@@ -8,16 +8,17 @@ set(grenaille_basic_SRCS
grenaille_basic_cpu.cpp
)
add_executable
(
grenaille_basic_cpu
${
grenaille_basic_SRCS
}
)
add_dependencies
(
examples grenaille_basic_cpu
)
add_dependencies
(
grenaille_
examples grenaille_basic_cpu
)
set
(
grenaille_fit_plane_SRCS
grenaille_fit_plane.cpp
)
add_executable
(
grenaille_fit_plane
${
grenaille_fit_plane_SRCS
}
)
add_dependencies
(
examples grenaille_fit_plane
)
add_dependencies
(
grenaille_
examples grenaille_fit_plane
)
set
(
grenaille_binding_SRCS
grenaille_binding.cpp
)
add_executable
(
grenaille_binding
${
grenaille_binding_SRCS
}
)
add_dependencies
(
examples grenaille_binding
)
add_dependencies
(
grenaille_examples grenaille_binding
)
examples/Grenaille/pcl/CMakeLists.txt
View file @
e87b29ca
...
...
@@ -14,4 +14,5 @@ set(pcl_wrapper_SRCS
add_executable
(
pcl_wrapper
${
pcl_wrapper_SRCS
}
)
target_link_libraries
(
pcl_wrapper
${
PCL_LIBRARIES
}
)
add_dependencies
(
examples pcl_wrapper
)
add_dependencies
(
grenaille_examples pcl_wrapper
)
examples/Vitelotte/CMakeLists.txt
View file @
e87b29ca
...
...
@@ -2,9 +2,12 @@ project(VitelotteExamples)
cmake_minimum_required
(
VERSION 2.8
)
add_custom_target
(
vitelotte_examples
)
add_subdirectory
(
common
)
add_subdirectory
(
mvgtk
)
add_subdirectory
(
mvg_viewer
)
add_subdirectory
(
mvg_editor
)
add_subdirectory
(
tutorial
)
examples/Vitelotte/common/CMakeLists.txt
View file @
e87b29ca
...
...
@@ -35,5 +35,6 @@ set(vitelotte_examples_common_SRCS
add_library
(
vitelotte_examples_common
${
vitelotte_examples_common_SRCS
}
)
add_dependencies
(
examples vitelotte_examples_common
)
add_dependencies
(
vitelotte_
examples vitelotte_examples_common
)
add_dependencies
(
vitelotte_examples_common vitelottes_vg_mesh_renderer_shaders
)
examples/Vitelotte/mvg_editor/CMakeLists.txt
View file @
e87b29ca
...
...
@@ -55,7 +55,7 @@ if(NOT mvg_editor_MISSING)
add_executable
(
mvg_editor
${
mvg_editor_SRCS
}
)
add_dependencies
(
examples mvg_editor
)
add_dependencies
(
vitelotte_
examples mvg_editor
)
add_dependencies
(
mvg_editor vitelottes_vg_mesh_renderer_shaders
)
target_link_libraries
(
mvg_editor
...
...
@@ -68,3 +68,4 @@ if(NOT mvg_editor_MISSING)
else
()
message
(
WARNING
"Skipping mvg_editor because of the following missing dependencies:
${
mvg_editor_MISSING
}
"
)
endif
()
examples/Vitelotte/mvg_viewer/CMakeLists.txt
View file @
e87b29ca
...
...
@@ -41,7 +41,7 @@ if(NOT mvg_viewer_MISSING)
mvgViewer.cpp
)
add_executable
(
mvg_viewer
${
mvg_viewer_SRCS
}
)
add_dependencies
(
examples mvg_viewer
)
add_dependencies
(
vitelotte_
examples mvg_viewer
)
add_dependencies
(
mvg_viewer vitelottes_vg_mesh_renderer_shaders
)
target_link_libraries
(
mvg_viewer
...
...
@@ -53,4 +53,3 @@ else()
message
(
WARNING
"Skipping mvg_viewer because of the following missing dependencies:
${
mvg_viewer_MISSING
}
"
)
endif
()
examples/Vitelotte/mvgtk/CMakeLists.txt
View file @
e87b29ca
...
...
@@ -28,8 +28,9 @@ set(vitelotte_mvgtk_SRCS
main.cpp
)
add_executable
(
mvgtk
${
vitelotte_mvgtk_SRCS
}
)
add_dependencies
(
examples mvgtk
)
add_dependencies
(
vitelotte_
examples mvgtk
)
target_link_libraries
(
mvgtk
vitelotte_examples_common
)
examples/Vitelotte/tutorial/CMakeLists.txt
View file @
e87b29ca
...
...
@@ -21,4 +21,5 @@ set(vitelotte_tutorial_SRCS
tutorial.cpp
)
add_executable
(
tutorial
${
vitelotte_tutorial_SRCS
}
)
add_dependencies
(
examples tutorial
)
add_dependencies
(
vitelotte_examples tutorial
)
readme
View file @
e87b29ca
/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
...
...
@@ -9,18 +9,18 @@
1. Using the Patate library
***************************
There is no need to compile this library to use it. Simply add the Patate/ directory to your include path.
There is no need to compile this library to use it. Simply add the Patate/ directory to your include path.
The only required dependency is on the Eigen library for linear algebra, vectors and matrices purposes.
A significant portion of the library is also CUDA-compatible, please refer to the documentation for details.
The Patate library is divided into modules (a.k.a. "patates"), and you may include each of them separately.
The Patate library is divided into modules (a.k.a. "patates"), and you may include each of them separately.
The best way to find out how to use a module is to start from tutorials provided in the documentation.
Various examples are also documented and their source code provided in the examples/ directory.
Further sections explain how to build the documentation and compile the examples.
An online version of the documentation for the last release is also available at
An online version of the documentation for the last release is also available at
http://patate.gforge.inria.fr/html/
For more information
For more information
2. Building the documentation
...
...
@@ -47,5 +47,6 @@ To compile examples, use the following command from the build/ directory:
The example binaries will then be found in the build/examples/ directory.
If you want to compile examples of a single module, you can use the targets <module>_examples:
make grenaille_examples
Write
Preview
Markdown
is supported
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