Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake output support for OCaml #4144

Closed
vicuna opened this issue Oct 27, 2006 · 1 comment
Closed

CMake output support for OCaml #4144

vicuna opened this issue Oct 27, 2006 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Oct 27, 2006

Original bug ID: 4144
Reporter: cniehaus
Status: closed (set by @mshinwell on 2016-12-06T21:07:19Z)
Resolution: won't fix
Priority: normal
Severity: feature
Version: 3.10+dev
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @hcarty

Bug description

ocamldep 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 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 information

You can find more information about CMake here: http://www.cmake.org/HTML/Index.html

File attachments

@vicuna
Copy link
Author

vicuna commented Dec 6, 2016

Comment author: @mshinwell

I doubt there is sufficient demand for this to be worth doing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant