Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004144OCamlOCaml generalpublic2006-10-27 11:332006-11-15 13:20
Reportercniehaus 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version3.10+dev 
Target VersionFixed in Version 
Summary0004144: CMake output support for OCaml
Descriptionocamldep is the tool which parses the ocaml files and (currently) generates a
dependency file which can be used (included) in Makefiles.

Now it would be cool if ocamldep would have a switch so we can tell it to
generate the file not in Makefile, but in CMake format.

You can see in the attached ocamldeps.cmake how this could look like. So it's
not really hard to generate the other format.

Instead of <fullpath> ideally the full path to the respective file has to be
inserted. I don't know whether this will be possible. If not, maybe simply
inserting ${CMAKE_CURRENT_SOURCE_DIR} and ${CMAKE_CURRENT_BINARY_DIR} for
the .cmi and .ml files would also be good enough.
Additional InformationYou can find more information about CMake here: http://www.cmake.org/HTML/Index.html [^]
TagsNo tags attached.
Attached Files? file icon ocamldeps.cmake [^] (1,285 bytes) 2006-10-27 11:33

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2006-10-27 11:33 cniehaus New Issue
2006-10-27 11:33 cniehaus File Added: ocamldeps.cmake
2006-11-15 13:20 doligez Status new => acknowledged
2006-11-15 13:20 doligez Category Caml-light => OCaml general


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker