The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=14851
======================================================================
Reported By: toeb
Assigned To:
======================================================================
Project: CMake
Issue ID: 14851
Category: (No Category)
Reproducibility: have not tried
Severity: feature
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-03-30 11:49 EDT
Last Modified: 2014-03-30 11:49 EDT
======================================================================
Summary: a fast eval
Description:
It would be very nice if cmake had a native eval function which would take a
string and execute it as cmake. using the clutch
create include file
write include file
include include file
delete include file
is very cumbersome
having eval would allow calling functions dynamically much easier.
ie
function(someUnknownName)
eval("someUnknownName(hello)")
another create addition would be allowing dynamic function calls
function(fu)
message(hello)
endfunction()
set(func fu)
${func}()
I thin the latter feature would however require an overhaul of the execution
process.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-03-30 11:49 toeb New Issue
======================================================================
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers