[cmake-developers] get_target_property() windows vs mac
Loretta London
llondon at shoretel.com
Wed Aug 7 15:51:10 EDT 2013
Dear To Whom This May Concern,
I had a question regarding the function get_target_property(). I am using the following call:
get_target_property(cdp-exe cdp LOCATION)
This call is supposed to get the location of my executable file. This line of code works correctly on Macs, but it does not work correctly on Windows. Here's what happens when I attempt to get the location of my executable file on Windows:
"C:/Users/Admin/Perforce/10.160.0.30_1667/llondon_multi_tenant_workspace/projects/MultiTenant_1/DMServices/build/$(Configuration)/cdp.exe"
The variable "$(Configuration)" is not set and I am not sure why and I am unable to get the correct location to my executable. Are different properties/calls are needed for Windows vs. Mac? Any help or advice on this would be much appreciated.
________________________________
This e-mail and any attachments are confidential. If it is not intended for you, please notify the sender, and please erase and ignore the contents.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130807/692edf63/attachment.html>
More information about the cmake-developers
mailing list