Hello CMake pros, I wonder if what I'm trying to do is possible.
I have an executable target, let's call it "normal". I want to create another target, called "derived", which would be a UPX-compressed version of "normal", and which I would be able to install as if it was a regular CMake target. E.g. add_executable(normal ${sources} ${libs}) # magic happens here install(TARGET derived DESTINATION bin) I tried several approaches but didn't succeed. I don't seem to be able to create a custom target that CMake would consider installable. I'm also struggling with rules that would automatically work for all configurations in Visual Studio. Is there a way? Thanks, SnakE
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake