Re: [CMake] Should I create IMPORTED targets for executables?

2012-07-25 Thread Alexander Neundorf
On Saturday 14 July 2012, Stephen Kelly wrote: 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? Yes, intended for crosscompiling.

Re: [CMake] Should I create IMPORTED targets for executables?

2012-07-23 Thread Stephen Kelly
Stephen Kelly wrote: 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

[CMake] Should I create IMPORTED targets for executables?

2012-07-14 Thread Stephen Kelly
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