Hello

I'm using add_executable to create an executable file.

I'd like to extract the filepath of the created executable for a custom 
command.

This causes some trouble for me because I use and must use visual studio.
The familiar problem with the build type being added as a subfolder.

However, i see that the command

install(targets Target)

somehow manages to extract the very information i'm intrested in.

Is there any way for me to do the same?

-mika
_______________________________________________
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://www.cmake.org/mailman/listinfo/cmake

Reply via email to