[PATCH] D25128: [OCaml] Install .mli (interface) files

Michał Górny via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 1 02:35:26 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL283028: [OCaml] Install .mli (interface) files (authored by mgorny).

Changed prior to commit:
  https://reviews.llvm.org/D25128?vs=73137&id=73190#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D25128

Files:
  llvm/trunk/cmake/modules/AddOCaml.cmake


Index: llvm/trunk/cmake/modules/AddOCaml.cmake
===================================================================
--- llvm/trunk/cmake/modules/AddOCaml.cmake
+++ llvm/trunk/cmake/modules/AddOCaml.cmake
@@ -180,10 +180,11 @@
 
   set(install_files)
   set(install_shlibs)
-  foreach( ocaml_output ${ocaml_outputs} )
+  foreach( ocaml_output ${ocaml_inputs} ${ocaml_outputs} )
     get_filename_component(ext "${ocaml_output}" EXT)
 
     if( NOT (ext STREQUAL ".cmo" OR
+             ext STREQUAL ".ml" OR
              ext STREQUAL CMAKE_C_OUTPUT_EXTENSION OR
              ext STREQUAL CMAKE_SHARED_LIBRARY_SUFFIX) )
       list(APPEND install_files "${ocaml_output}")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25128.73190.patch
Type: text/x-patch
Size: 671 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161001/9f742d50/attachment.bin>


More information about the llvm-commits mailing list