On 6 May 2011 01:12, Michael Hertling wrote:
>
> Yes, absolutely. Although setups with libraries which are needed in some
> configurations only are quite rare, AFAIK, your case shows that this may
> well happen. ;-) Possible - and more appropriate - solutions could be:
>
> - New target properties
On 05/05/2011 12:51 PM, Glenn Coombs wrote:
> Thanks for that link Michael. It doesn't please me, but I can confirm that
> it does work :-) It's a nice hack around a deficiency in cmake. I ended up
> using this code:
>
> # First create a dummy library to hang the pthreads
> # dependency on via
Thanks for that link Michael. It doesn't please me, but I can confirm that
it does work :-) It's a nice hack around a deficiency in cmake. I ended up
using this code:
# First create a dummy library to hang the pthreads
# dependency on via the IMPORTED_LINK_INTERFACE_LIBRARIES property.
file(WRI
On 04/26/2011 03:40 PM, Glenn Coombs wrote:
> I am using cmake 2.8.2 and I have added a custom configuration to my project
> like this:
>
> # Add configuration for debug pthreads builds based on the debug
> configuration
> #
> ===
I am using cmake 2.8.2 and I have added a custom configuration to my project
like this:
# Add configuration for debug pthreads builds based on the debug
configuration
#
=
set(CMAKE_C_FLAGS_DEBUGPTHREADS