Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpp-fcl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Guilhem Saurel
hpp-fcl
Commits
5f2e2ad7
Commit
5f2e2ad7
authored
8 years ago
by
jcarpent
Browse files
Options
Downloads
Patches
Plain Diff
[C++][CMake] Rename and export definition inside .pc file
parent
7c9bdc12
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CMakeLists.txt
+5
-2
5 additions, 2 deletions
CMakeLists.txt
cmake
+1
-1
1 addition, 1 deletion
cmake
include/hpp/fcl/config-fcl.hh.in
+0
-1
0 additions, 1 deletion
include/hpp/fcl/config-fcl.hh.in
include/hpp/fcl/mesh_loader/assimp.h
+14
-14
14 additions, 14 deletions
include/hpp/fcl/mesh_loader/assimp.h
with
20 additions
and
18 deletions
CMakeLists.txt
+
5
−
2
View file @
5f2e2ad7
...
...
@@ -78,10 +78,10 @@ endif()
ADD_REQUIRED_DEPENDENCY
(
"assimp >= 2.0"
)
if
(
ASSIMP_FOUND
)
if
(
NOT
${
ASSIMP_VERSION
}
VERSION_LESS
"2.0.1150"
)
set
(
FCL_USE_ASSIMP_UNIFIED_HEADER_NAMES 1
)
add_definitions
(
-DFCL_USE_ASSIMP_UNIFIED_HEADER_NAMES
)
SET
(
WITH_FCL_USE_ASSIMP_UNIFIED_HEADER_NAMES TRUE
)
message
(
STATUS
"Assimp version has unified headers"
)
else
()
set
(
FCL_USE_ASSIMP_UNIFIED_HEADER_NAMES 0
)
message
(
STATUS
"Assimp version does not have unified headers"
)
endif
()
endif
()
...
...
@@ -191,6 +191,9 @@ add_subdirectory(test)
pkg_config_append_libs
(
"hpp-fcl"
)
PKG_CONFIG_APPEND_BOOST_LIBS
(
thread date_time filesystem system
)
IF
(
WITH_FCL_USE_ASSIMP_UNIFIED_HEADER_NAMES
)
PKG_CONFIG_APPEND_CFLAGS
(
"-DFCL_USE_ASSIMP_UNIFIED_HEADER_NAMES"
)
ENDIF
(
WITH_FCL_USE_ASSIMP_UNIFIED_HEADER_NAMES
)
config_files
(
include/hpp/fcl/config-fcl.hh
)
install
(
FILES
${
PROJECT_BINARY_DIR
}
/include/hpp/fcl/config-fcl.hh
...
...
This diff is collapsed.
Click to expand it.
cmake
@
bd35ff07
Compare
2fabb108
...
bd35ff07
Subproject commit
2fabb1085371c98e8254f3f090e0a6700bd5ef48
Subproject commit
bd35ff07dc0ae377ba1d04815ff98a270d31f4d7
This diff is collapsed.
Click to expand it.
include/hpp/fcl/config-fcl.hh.in
+
0
−
1
View file @
5f2e2ad7
...
...
@@ -43,7 +43,6 @@
#cmakedefine01 FCL_HAVE_OCTOMAP
#cmakedefine01 FCL_HAVE_FLANN
#cmakedefine01 FCL_HAVE_TINYXML
#cmakedefine01 FCL_USE_ASSIMP_UNIFIED_HEADER_NAMES
#endif // FCL_CONFIG_FCL_HH
This diff is collapsed.
Click to expand it.
include/hpp/fcl/mesh_loader/assimp.h
+
14
−
14
View file @
5f2e2ad7
...
...
@@ -39,20 +39,20 @@
#include
<hpp/fcl/config-fcl.hh>
#if FCL_USE_ASSIMP_UNIFIED_HEADER_NAMES
#include
<assimp/DefaultLogger.hpp>
#include
<assimp/IOStream.hpp>
#include
<assimp/IOSystem.hpp>
#include
<assimp/scene.h>
#include
<assimp/Importer.hpp>
#include
<assimp/postprocess.h>
#else
#include
<assimp/DefaultLogger.h>
#include
<assimp/assimp.hpp>
#include
<assimp/IOStream.h>
#include
<assimp/IOSystem.h>
#include
<assimp/aiScene.h>
#include
<assimp/aiPostProcess.h>
#if
def
FCL_USE_ASSIMP_UNIFIED_HEADER_NAMES
#include
<assimp/DefaultLogger.hpp>
#include
<assimp/IOStream.hpp>
#include
<assimp/IOSystem.hpp>
#include
<assimp/scene.h>
#include
<assimp/Importer.hpp>
#include
<assimp/postprocess.h>
#else
#include
<assimp/DefaultLogger.h>
#include
<assimp/assimp.hpp>
#include
<assimp/IOStream.h>
#include
<assimp/IOSystem.h>
#include
<assimp/aiScene.h>
#include
<assimp/aiPostProcess.h>
#endif
#include
<hpp/fcl/BV/OBBRSS.h>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment