[CMake] Should I create IMPORTED targets for executables?

Stephen Kelly steveire at gmail.com
Sat Jul 14 04:36:14 EDT 2012


Hi,

For Qt 5 I'm creating IMPORTED targets for all the libraries, which has 
several benefits.

I'm not sure if there are any benefits to creating IMPORTED targets for the 
executables too? Currently I just create variables with the full paths to 
the executables (moc, uic, rcc) instead.

Is there any reason to change those to IMPORTED executables?

Thanks,

Steve.



More information about the CMake mailing list