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.
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to