[CMake] improve the CMake language?
Bill Hoffman
bill.hoffman at kitware.com
Fri Nov 2 10:00:49 EDT 2007
Eric Noulard wrote:
>
>
> CMAKE_LOAD_PLUGIN(TCL)
>
> CMAKE_TCL(IN_VAR a
> IN_VAR b
> OUT_VAR g
> OUT_VAR h
> SCRIPT_STRING "<any tcl code>")
>
> or
>
> CMAKE_TCL(IN_VAR a
> IN_VAR b
> OUT_VAR g
> OUT_VAR h
> SCRIPT_FILE "/path/to/tcl_script.tcl")
>
You can do that today. CMake already supports loaded commands via c++
plugins. I would not recommend it, execute_process is much safer to use
(shared library plugins have to match the compiler abi of the running
cmake 64/32 bit issues can cause problems.)
-Bill
More information about the CMake
mailing list