Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
eigenpy
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
Stack Of Tasks
eigenpy
Commits
72f57d87
Unverified
Commit
72f57d87
authored
5 years ago
by
Justin Carpentier
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #93 from jcarpent/devel
Update cmake
parents
f1c8a1d2
506d812e
No related branches found
No related tags found
No related merge requests found
Pipeline
#10118
failed
4 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+14
-24
14 additions, 24 deletions
CMakeLists.txt
cmake
+1
-1
1 addition, 1 deletion
cmake
with
15 additions
and
25 deletions
CMakeLists.txt
+
14
−
24
View file @
72f57d87
...
@@ -5,39 +5,31 @@
...
@@ -5,39 +5,31 @@
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.6
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.6
)
SET
(
PROJECT_NAME eigenpy
)
SET
(
PROJECT_DESCRIPTION
"Bindings between Numpy and Eigen using Boost.Python"
)
SET
(
PROJECT_URL
"http://github.com/stack-of-tasks/eigenpy"
)
# Check if the submodule cmake have been initialized
# Check if the submodule cmake have been initialized
IF
(
NOT EXISTS
"
${
PROJECT
_SOURCE_DIR
}
/cmake/base.cmake"
)
IF
(
NOT EXISTS
"
${
CMAKE
_SOURCE_DIR
}
/cmake/base.cmake"
)
MESSAGE
(
FATAL_ERROR
"
\n
Please run the following command first:
\n
git submodule update --init
\n
"
)
MESSAGE
(
FATAL_ERROR
"
\n
Please run the following command first:
\n
git submodule update --init
\n
"
)
ENDIF
()
ENDIF
()
# Disable -Werror on Unix for now.
SET
(
CXX_DISABLE_WERROR True
)
SET
(
CMAKE_VERBOSE_MAKEFILE True
)
INCLUDE
(
cmake/base.cmake
)
INCLUDE
(
cmake/base.cmake
)
PROJECT
(
${
PROJECT_NAME
}
CXX
)
INCLUDE
(
cmake/boost.cmake
)
INCLUDE
(
cmake/boost.cmake
)
INCLUDE
(
cmake/python.cmake
)
INCLUDE
(
cmake/python.cmake
)
INCLUDE
(
cmake/ide.cmake
)
INCLUDE
(
cmake/ide.cmake
)
INCLUDE
(
cmake/apple.cmake
)
SET
(
PROJECT_NAME eigenpy
)
SET
(
PROJECT_DESCRIPTION
"Bindings between Numpy and Eigen using Boost.Python"
)
SET
(
PROJECT_URL
"http://github.com/stack-of-tasks/eigenpy"
)
# Disable -Werror on Unix for now.
SET
(
CXX_DISABLE_WERROR True
)
SET
(
CMAKE_VERBOSE_MAKEFILE True
)
SETUP_PROJECT
()
STRING
(
REPLACE
"-pedantic"
""
CMAKE_CXX_FLAGS
${
CMAKE_CXX_FLAGS
}
)
STRING
(
REPLACE
"-pedantic"
""
CMAKE_CXX_FLAGS
${
CMAKE_CXX_FLAGS
}
)
IF
(
APPLE
)
# If needed, fix CMake policy for APPLE systems
SET
(
CMAKE_MACOSX_RPATH TRUE
)
APPLY_DEFAULT_APPLE_CONFIGURATION
()
SET
(
CMAKE_SKIP_BUILD_RPATH FALSE
)
SET
(
CMAKE_BUILD_WITH_INSTALL_RPATH FALSE
)
SET
(
CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE
)
#SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
LIST
(
FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES
"
${
CMAKE_INSTALL_PREFIX
}
/lib"
isSystemDir
)
IF
(
"
${
isSystemDir
}
"
STREQUAL
"-1"
)
SET
(
CMAKE_INSTALL_RPATH
"
${
CMAKE_INSTALL_PREFIX
}
/lib"
)
ENDIF
(
"
${
isSystemDir
}
"
STREQUAL
"-1"
)
ENDIF
(
APPLE
)
IF
(
WIN32
)
IF
(
WIN32
)
SET
(
LINK copy_if_different
)
SET
(
LINK copy_if_different
)
...
@@ -162,5 +154,3 @@ PKG_CONFIG_APPEND_LIBS(${PROJECT_NAME})
...
@@ -162,5 +154,3 @@ PKG_CONFIG_APPEND_LIBS(${PROJECT_NAME})
PKG_CONFIG_APPEND_CFLAGS
(
"-I
${
PYTHON_INCLUDE_DIRS
}
"
)
PKG_CONFIG_APPEND_CFLAGS
(
"-I
${
PYTHON_INCLUDE_DIRS
}
"
)
PKG_CONFIG_APPEND_CFLAGS
(
"-I
${
NUMPY_INCLUDE_DIRS
}
"
)
PKG_CONFIG_APPEND_CFLAGS
(
"-I
${
NUMPY_INCLUDE_DIRS
}
"
)
PKG_CONFIG_APPEND_BOOST_LIBS
(
${
BOOST_COMPONENTS
}
)
PKG_CONFIG_APPEND_BOOST_LIBS
(
${
BOOST_COMPONENTS
}
)
SETUP_PROJECT_FINALIZE
()
This diff is collapsed.
Click to expand it.
cmake
@
fc54ee06
Compare
f389aae2
...
fc54ee06
Subproject commit f
389aae203c4d92649cd5eb66289fd6a17c03fde
Subproject commit f
c54ee062c8e071a7ee2e7b43de2c4ff703245d8
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