Re: [CMake] Help with Policy CMP0026 (disallow LOCATION target property)

2014-12-23 Thread David Cole via CMake
Paul, Are you sure there's a problem using TARGET_FILE in your original context? It seems to me it should work... From http://www.cmake.org/cmake/help/v3.1/manual/cmake-generator-expressions.7.html : $ Full path to main file (.exe, .so.1.2, .a) where tgt is the name of a target. You should be

Re: [CMake] Help with Policy CMP0026 (disallow LOCATION target property)

2014-12-23 Thread Parag Chandra
Have you tried the CMake variables LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH? I¹ve been using them to accomplish much the same thing. Parag Chandra Software Engineer, Mobile Team Mobile: +1.919.824.1410 Ionic Security Inc. 1170 Peachtree St. NE STE 2285, Atlanta, GA 30

[CMake] Help with Policy CMP0026 (disallow LOCATION target property)

2014-12-23 Thread Paul Smith
Hi all. I need a pointer or two. In my environment I need to have my executables and binaries copied to another location; this has to happen as part of the default "all" target: it can't be required to run "install" for example (we use the "install" rule for a "real" install step, for one thing).