The following issue has been SUBMITTED. ====================================================================== http://cmake.org/Bug/view.php?id=12493 ====================================================================== Reported By: Maxim Ignatenko Assigned To: ====================================================================== Project: CMake Issue ID: 12493 Category: CMake Reproducibility: N/A Severity: feature Priority: normal Status: new ====================================================================== Date Submitted: 2011-10-05 10:29 EDT Last Modified: 2011-10-05 10:29 EDT ====================================================================== Summary: Erlang/OTP support Description: Most complete effort to write Erlang support for CMake could be found here: https://github.com/okeuday/generic-erlang-port--driver-/tree/master/CMake/erlang But there's one issue: it does not generate *.app file for batch of *.beam files. Instead of trying to link *.beam files in one executable (which has no sense) add_executable() should generate *.app file from user-supplied template or based on target properties. Currently I'm trying to do it by setting CMAKE_Erlang_LINK_EXECUTABLE to "cmake -P gen_app_file.cmake ...", but this is a bit ugly, since new cmake process has no access to parent's data and all parameters need to be supplied as command line arguments.
So, feature request is: 1) make it possible to use user-defined CMake function instead of CMAKE_<LANG>_LINK_EXECUTABLE 2) import mentioned files into CMake distribution (after some adaptation) ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-10-05 10:29 Maxim IgnatenkoNew Issue ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
