Comments (8)
When something is defined in this way it can be included with:
include_directories( $<TARGET_PROPERTY:sawConstraintController,INTERFACE_INCLUDE_DIRECTORIES>)
from cisst.
Is this based on some type of "best practices with CMake", or is it something you created?
from cisst.
It is based on best practices, my changes are ones that correctly fix installation paths. However there are features utilized come with CMake 3.0 and up, the current is 3.3.
The installation path problems are present in the current version regardless of the cmake version used.
from cisst.
Actually, I just downloaded CMake 3.4
from cisst.
Since Ubuntu 12.04 comes with CMake 2.8.7 and has been the recommended OS for the dVRK I would prefer to avoid CMake 3.x features.
The issue is that the install directory is not always properly defined during the build process hence the -config.cmake must have a mechanism to figure out where it is installed. Our strategy has been to use an external macro (cisst_find_saw_component) to centralize this logic. Does anyone know if there was a better standard practice pre CMake 2.8.7?
On Nov 18, 2015, at 7:19 AM, Peter Kazanzides [email protected] wrote:
Actually, I just downloaded CMake 3.4
—
Reply to this email directly or view it on GitHub.
from cisst.
Unfortunately 2.8.7 is very broken, there were key fixes in 2.8.8. I've been installing newer cmake versions onto 10.04 for years. Does what you have now work in your use case on 2.8.7?
I think the ProjectConfig.cmake is now expected to be installed into $CMAKE_INSTALL_PREFIX/lib/cmake/
. Right now it is put in some really long share/cisst/something/somethingelse
path, well when it isn't specifying paths that have been deleted. :-)
from cisst.
I found the link to the best "best practices" I've seen that is a few years old titled Modern CMake.
Here is some additional possible old "best practice" info:
https://cmake.org/pipermail/cmake/2013-February/053689.html
the above is from here
http://cmake.3232098.n2.nabble.com/CMakeModules-repository-at-GitHub-tp7583818p7583832.html
Here is an interesting conversation:
https://www.reddit.com/r/programming/comments/1qjoln/modern_cmake_with_qt_and_boost/
from cisst.
This has been fixed.
from cisst.
Related Issues (20)
- catkin build fails HOT 2
- Markdown alignment error in SVL wiki HOT 1
- catkin build /usr/bin/ld: cannot find -lReflexxesTypeII under ROS Kinetic HOT 3
- mtsFrm4x4
- Add constructor for vctAxisAngleRotation3() using axis and angle HOT 2
- cisst build fails on feature-cxx-compatibility branch HOT 5
- on branch devel: error thrown in mtsGenericObjectProxy::ConditionalCreate HOT 1
- Should the Data Generator Always be Built? HOT 6
- Problem with disconnecting services
- cisstDataGenerator failed to parse mtsParameterTypes.cdg HOT 4
- Support C++17 ISO Standard
- Fail to build cisst with catkin build and cmake versions >= 3.11 on Ubuntu 16.04 HOT 9
- cisstVector Build Fails WhenUsing ClangCl with MSVC 2019
- catkin_make err HOT 1
- Fail to build cisst-ros with catkin build on Ubuntu 16.04 (cannot find mtsDelayedConnections.h) HOT 3
- cisstNumerical Build Fails in Latest Release HOT 6
- Build cisst_netlib error HOT 5
- ROSToCISST missing matrix functionality (std_msgs::Float64MultiArray ---> vctDoubleVec) HOT 4
- Add `override` keyword for all cisst libraries
- Deprecate polynomial related classes in cisstNumerical
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cisst.