[CMake] CMP0026 - Disallow use of the LOCATION target property

2015-02-06 Thread Jifeng ZHANG
the LOCATION of ${TEST_PROJECT}, I can use: set (TEST_PATH $TARGET_FILE:${TESTS_PROJECT}) But if I want to get LOCATION_${CMAKE_BUILD_TYPE}, how can I do it? Thanks. -- Vänliga hälsningar/Best regards, Jifeng Zhang -- Powered by www.kitware.com Please keep messages on-topic and check

Re: [CMake] CMP0026 - Disallow use of the LOCATION target property

2015-02-24 Thread Jifeng ZHANG
Thank you Steve and NoRulez. We actually make some manipulations on the string (TEST_PATH) that returned from get_target_property, before we pass it to add_test. So if we directly pass the generator expression, it won't work. We need to change this part obviously. Any idea when CMake 4.0 is