Hi,

subject says all, here's the CMakeLists.txt:
----------
cmake_minimum_required(VERSION 2.6)
project(locate_test)

add_executable(location_test main.cpp)
set_target_properties(location_test PROPERTIES DEBUG_POSTFIX "d")

get_target_property(output location_test LOCATION)
message(${output})
----------
running cmake with "cmake ../ -DCMAKE_BUILD_TYPE=Debug" gives:
[...]
-- Detecting CXX compiler ABI info - done
/home/diederich/projects/tests/cmake/build/location_test
-- Configuring done
-- Generating done
-- Build files have been written to: /home/diederich/projects/tests/cmake/build

Is this the expected behaviour?

After digging through Mantis I've found this (somehow) related bug-report:
http://public.kitware.com/Bug/view.php?id=7868
and if I get it right, it states LOCATION can't be used for that.

Problem is, I want to pass a plugin I generate to an executable in
ADD_TEST like this:
ADD_TEST(check_LIBA_for_unresolved_symbols myBinary ${BUILT_PLUGIN}

Any hints how to do this?

Thanks in advance,
Stephan
_______________________________________________
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