[CMake] use of ${cmake_command}

Ryan Pavlik rpavlik at iastate.edu
Mon Apr 5 17:37:36 EDT 2010


Yes, since the cmake that is in the user's PATH might not be the cmake 
they are using/want to use. Generally, avoid hardcoding 
application/executable names or locations.

Ryan

On 4/5/10 4:00 PM, AKHRES Nader wrote:
> Hello,
>
> I've seen some examples where ${CMAKE_COMMAND} is used instead of 
> cmake, typically in post build command....
> Is it a better practice for portability?
>
> Nad


-- 
Ryan Pavlik
Human-Computer Interaction Graduate Student
Virtual Reality Applications Center
Iowa State University

rpavlik at iastate.edu
http://academic.cleardefinition.com/



More information about the CMake mailing list