orogen: Using PROJECT_SOURCE|BINARY_DIR instead of CMAKE_x_DIR
Peter Soetens <[email protected]>
| Newsgroups | gmane.science.robotics.orocos.devel |
|---|---|
| Message-ID | <CAMYDobWqaNpWJgvdPPBSMmvOsueGT9h5kZ9bhW+zxG=4aknSAA@mail.gmail.com> |
Hi,
We're looking into chaining different packages into a single cmake
build, using catkin as the glue. There are two things to fix for doing
this:
1. never use CMAKE_SOURCE/BINARY_DIR but use the PROJECT_...
equivalent (refers to the closest project() statement)
2. never define a target twice, both cmake targets as make targets,
for example, the 'regen' target.
If we would:
1. replace all these CMAKE_ occurences to PROJECT_...
2. rename 'regen' to 'regen-${PROJECT_NAME}'
Would we be fine or do I overlook something ? Would this break the
Rock workflow ?
Peter
--
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev