[CMake] CMake: how to use 'if condition' in command add_custom_command(...)

Chaos Zhang zcsd2012 at gmail.com
Tue Apr 19 01:15:40 EDT 2016


Hi, 

Is there a way to use Linux command 'if' like this : 
<http://cmake.3232098.n2.nabble.com/file/n7593278/2016-04-19_113005.png> 
For i need to execute 'if condition' in make phase rather than cmake phase. 

Thanks a lot 
Chaos Zhang 



--
View this message in context: http://cmake.3232098.n2.nabble.com/CMake-how-to-use-if-condition-in-command-add-custom-command-tp7593278.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list