Hello All,

I am trying to attach a custom POST_BUILD command to the ALL_BUILD target.
I've tried adding the following at the bottom of my root CMakeLists.txt
file but the Post Event never shows up in Visual Studio. I have been able
to get it to work for sub projects, just not ALL_BUILD. Has anyone gotten
this to work?

add_custom_command(TARGET ALL_BUILD
POST_BUILD
COMMAND "python27.exe brand.py"
COMMENT "Branding VS debug build"
)

Many thanks,
Chris
--

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