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

rpav...@iastate.edu
http://academic.cleardefinition.com/

_______________________________________________
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://www.cmake.org/mailman/listinfo/cmake

Reply via email to