https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=674
Summary: Docs not build on Mac
Product: RTT
Version: rtt-trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Website - Documentation
AssignedTo: orocos-dev [..] ...
ReportedBy: kiwi [dot] net [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0
Using Linux only option to "cp" command.
[Bug 674] Docs not build on Mac
https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=674
Peter Soetens <peter [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution| |FIXED
Status|NEW |RESOLVED
--- Comment #6 from Peter Soetens <peter [..] ...> 2009-08-12 23:30:21 ---
Fixed on trunk in r30233.
[Bug 674] Docs not build on Mac
https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=674
S Roderick <kiwi [dot] net [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #448 is|0 |1
obsolete| |
--- Comment #5 from S Roderick <kiwi [dot] net [..] ...> 2009-06-22 14:03:50 ---
Created an attachment (id=452)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=452)
Use "CMAKE_COMMAND -E copy" instead
[Bug 674] Docs not build on Mac
https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=674
--- Comment #4 from Klaas Gadeyne <klaas [dot] gadeyne [..] ...> 2009-06-22 09:11:53 ---
(In reply to comment #3)
> (In reply to comment #2)
> > Created an attachment (id=448)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=448) [details] [details]
> > Too fast on the draw ...
>
> I would have loved a file(COPY ... ) command from cmake, but it seems it
> doesn't exist. The closest I could find is configure_file(... COPYONLY). Even
> then, the current custom build rule only executes when the 'docs' make target
> is processed, while the file() or configure_file() functions operate during the
> cmake run. So maybe we'd better stick to your solution.
>
> tests/CMakeLists.txt also contains a 'cp -R' command by the way.
Indeed, I remember performing the same workaround during the early days of the
os x port, so there might be some others around. Shame on me :-)
> I would at least set COPY_CMD globally in the config/check_depend.cmake file.
[Bug 674] Docs not build on Mac
https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=674
Peter Soetens <peter [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |peter [..] ...
--- Comment #3 from Peter Soetens <peter [..] ...> 2009-06-21 21:31:08 ---
(In reply to comment #2)
> Created an attachment (id=448)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=448) [details]
> Too fast on the draw ...
I would have loved a file(COPY ... ) command from cmake, but it seems it
doesn't exist. The closest I could find is configure_file(... COPYONLY). Even
then, the current custom build rule only executes when the 'docs' make target
is processed, while the file() or configure_file() functions operate during the
cmake run. So maybe we'd better stick to your solution.
tests/CMakeLists.txt also contains a 'cp -R' command by the way.
I would at least set COPY_CMD globally in the config/check_depend.cmake file.
Peter
[Bug 674] Docs not build on Mac
On Jun 21, 2009, at 15:31 , Peter Soetens wrote:
> https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=674
>
>
> Peter Soetens <peter [..] ...> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |peter [..] ...
>
>
>
>
> --- Comment #3 from Peter Soetens <peter [..] ...>
> 2009-06-21 21:31:08 ---
> (In reply to comment #2)
>> Created an attachment (id=448)
> --> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=448)
> [details]
>> Too fast on the draw ...
>
> I would have loved a file(COPY ... ) command from cmake, but it
> seems it
> doesn't exist. The closest I could find is configure_file(...
> COPYONLY). Even
> then, the current custom build rule only executes when the 'docs'
> make target
> is processed, while the file() or configure_file() functions operate
> during the
> cmake run. So maybe we'd better stick to your solution.
Agreed. Seems like a major oversight in CMake. I looked for same
thing ...
> tests/CMakeLists.txt also contains a 'cp -R' command by the way.
Fine on Mac.
> I would at least set COPY_CMD globally in the config/
> check_depend.cmake file.
Agreed. You want new patches? Then maybe change the name to COPY_FILE?
Little more descriptive.
S
[Bug 674] Docs not build on Mac
On Mon, Jun 22, 2009 at 12:33 AM, S Roderick <kiwi [dot] net [..] ...> wrote:
> On Jun 21, 2009, at 15:31 , Peter Soetens wrote:
>
> > https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=674
> >
> >
> > Peter Soetens <peter [..] ...> changed:
> >
> > What |Removed |Added
> >
> ----------------------------------------------------------------------------
> > CC| |peter [..] ...
> >
> >
> >
> >
> > --- Comment #3 from Peter Soetens <peter [..] ...>
> > 2009-06-21 21:31:08 ---
> > (In reply to comment #2)
> >> Created an attachment (id=448)
> > --> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=448)
> > [details]
> >> Too fast on the draw ...
> >
> > I would have loved a file(COPY ... ) command from cmake, but it
> > seems it
> > doesn't exist. The closest I could find is configure_file(...
> > COPYONLY). Even
> > then, the current custom build rule only executes when the 'docs'
> > make target
> > is processed, while the file() or configure_file() functions operate
> > during the
> > cmake run. So maybe we'd better stick to your solution.
>
> Agreed. Seems like a major oversight in CMake. I looked for same
> thing ...
>
> > tests/CMakeLists.txt also contains a 'cp -R' command by the way.
>
There is the (very poorly documented) -E cmake option. Typing "cmake -E
-help" will display the platform-independent commands it implements.
Typing cmake -E copy file destination is probably what you want. You can
make the file copy at make time and not at configure time by doing a
custom_command/target + add_dependencies call with
the COMMAND option set to
COMMAND ${CMAKE_COMMAND} -E copy file destination
Also, now that we're talking doc generation. I've seen that when generating
the Doxygen docs, a symlink is created. Since this is not very
cross-platformish, you could either use the cmake -E create_symlink command
(you're starting to like -E huh?), or simply do away with symlinks. I've
never needed them for that. FWIW, I'm attaching the two files I usually put
under the doxygen doc folder of my projects (note: the find_package(Doxygen)
is located elsewhere, in another file)
Adolfo
>
>
> Fine on Mac.
>
> > I would at least set COPY_CMD globally in the config/
> > check_depend.cmake file.
>
> Agreed. You want new patches? Then maybe change the name to COPY_FILE?
> Little more descriptive.
> S
> --
> Orocos-Dev mailing list
> Orocos-Dev [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
>
[Bug 674] Docs not build on Mac
2009/6/22 Adolfo Rodríguez Tsouroukdissian <adolfo [dot] rodriguez [..] ...>:
>
> On Mon, Jun 22, 2009 at 12:33 AM, S Roderick <kiwi [dot] net [..] ...> wrote:
>>
>> On Jun 21, 2009, at 15:31 , Peter Soetens wrote:
>>
>> > https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=674
>
> There is the (very poorly documented) -E cmake option. Typing "cmake -E
> -help" will display the platform-independent commands it implements.
Oooh yes. In combination with my poor memory, the consequences were obvious.
>
> Typing cmake -E copy file destination is probably what you want. You can
> make the file copy at make time and not at configure time by doing a
> custom_command/target + add_dependencies call with
> the COMMAND option set to
>
> COMMAND ${CMAKE_COMMAND} -E copy file destination
>
> Also, now that we're talking doc generation. I've seen that when generating
> the Doxygen docs, a symlink is created.
This was already fixed on the 2.0 branch. There is a file command to
create symlinks.
Since this is not very
> cross-platformish, you could either use the cmake -E create_symlink command
> (you're starting to like -E huh?), or simply do away with symlinks. I've
> never needed them for that. FWIW, I'm attaching the two files I usually put
> under the doxygen doc folder of my projects (note: the find_package(Doxygen)
> is located elsewhere, in another file)
Ok, I'll cross check that.
Peter
[Bug 674] Docs not build on Mac
https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=674
S Roderick <kiwi [dot] net [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #445 is|0 |1
obsolete| |
--- Comment #2 from S Roderick <kiwi [dot] net [..] ...> 2009-06-19 23:59:06 ---
Created an attachment (id=448)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=448)
Too fast on the draw ...
[Bug 674] Docs not build on Mac
https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=674
--- Comment #1 from S Roderick <kiwi [dot] net [..] ...> 2009-06-19 23:51:58 ---
Created an attachment (id=445)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=445)
Deal with Mac options specifically
[Bug 675] New: Docs not build on Mac
https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=675
Summary: Docs not build on Mac
Product: OCL
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Documentation / Web site
AssignedTo: orocos-dev [..] ...
ReportedBy: kiwi [dot] net [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0
Using Linux only option to "cp" command.
[Bug 675] Docs not build on Mac
https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=675
Peter Soetens <peter [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |peter [..] ...
Resolution| |FIXED
Status|NEW |RESOLVED
--- Comment #4 from Peter Soetens <peter [..] ...> 2009-06-22 14:45:21 ---
(In reply to comment #3)
> Created an attachment (id=453)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=453) [details]
> Use "CMAKE_COMMAND -E copy" instead
Thanks, I applied it on OCL as well.
[Bug 675] Docs not build on Mac
https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=675
S Roderick <kiwi [dot] net [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #447 is|0 |1
obsolete| |
--- Comment #3 from S Roderick <kiwi [dot] net [..] ...> 2009-06-22 14:04:08 ---
Created an attachment (id=453)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=453)
Use "CMAKE_COMMAND -E copy" instead
[Bug 675] Docs not build on Mac
https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=675
S Roderick <kiwi [dot] net [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #446 is|0 |1
obsolete| |
--- Comment #2 from S Roderick <kiwi [dot] net [..] ...> 2009-06-19 23:58:49 ---
Created an attachment (id=447)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=447)
Too fast on the draw ...
[Bug 675] Docs not build on Mac
https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=675
--- Comment #1 from S Roderick <kiwi [dot] net [..] ...> 2009-06-19 23:52:19 ---
Created an attachment (id=446)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=446)
Deal with Mac options specifically