[CMake] 3rd party modules

Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA artur.kedzierski at navy.mil
Mon Oct 2 15:34:42 EDT 2006


	Thank You. I am making a nice progress.  
	Now I am setting up a Dartboard. Is there
a way to setup ctest to submit results to SSL
webserver? Something like through
SET(DROP_METHOD "https")?
	When I do SET(TRIGGER_SITE "https://...."),
I get 'libcurl was built with SSL disabled'. How
do I build cmake with ssl enabled in curl?
	Thank You.

--
Artur Kedzierski

-----Original Message-----
From: Brad King [mailto:brad.king at kitware.com] 
Sent: Friday, September 29, 2006 13:45
To: Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA
Cc: CMake Mailing List
Subject: Re: [CMake] 3rd party modules

Brad King wrote:
> Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA wrote:
>> 	That didn't do it. This is what I am doing:
>> ADD_LIBRARY(Foo foo.cpp)
>> SET_TARGET_PROPERTIIES(Foo PROPERTIES DEBUG_POSTFIX "Debug") 
>> GET_TARGET_PROPERTY(LIBNAME Foo LOCATION)
>> 	I am still getting libfoo.a for the ${LIBNAME} but
>> libfooDebug.a is generated.
>> 	Am I missing something?
> 
> No, this is a bug.  See here:
> 
> http://www.cmake.org/Bug/bug.php?op=show&bugid=3250&pos=1
> 
> The LOCATION property presents a challenge for per-configuration names
> as explained in that bug report.  It basically isn't implemented for
> that case right now.

I've just added <CONFIG>_LOCATION to GET_TARGET_PROPERTY in CVS CMake.
You should be able to do

GET_TARGET_PROPERTY(LIBNAME Foo DEBUG_LOCATION)

We'll include this in CMake release 2.4.4.

-Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4670 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20061002/0d1554c6/smime.bin


More information about the CMake mailing list