toeb / cmakepp

An Enhancement Suite for the CMake Build System
Other
435 stars 37 forks source link

add a generic call method #14

Closed toeb closed 10 years ago

toeb commented 10 years ago

a method which understand if it calls a function, a functor or a member method and does the appropriate things )funciton import, member resolution value return etc.

syntax:

call(func1()) _result or ans contains the result

call(a.b.c.d(${a} {b} {a.b} {*d})

etc.