cmake-basis / legacy

Legacy CMake BASIS project for versions 3.2 and older. For newer versions, go to
https://github.com/cmake-basis/BASIS
Other
13 stars 11 forks source link

ExecutableTargetInfo path incorrect for C++ binaries built with Xcode #478

Closed schuhschuh closed 8 years ago

schuhschuh commented 9 years ago

When building C++ code with Xcode, the output binary files are placed in Release and Debug subdirectories.

schuhschuh commented 9 years ago

This also affects (or is caused by) the basis_get_target_location which is exported by basis_export_build_properties. Curious yet why a target built from C++ sources is being exported to <Project>CustomExports.cmake instead of <Project>Exports.cmake...

EDIT: Test executables are not exported by CMake's export command. That is why it's custom.