<meta charset="utf-8">Hi All,<div><br>I have what should be a simple issue. I have successfully built a project using CMAKE(out of source build). The executables are all placed in the Project/build/Exec. But I want them placed in Project/build/bin/ instead. Toward this end, I set the EXECUTABLE_OUTPUT_PATH, in the top-level CMakeList file, like so:<br>
<br>cmake_minimum_required(VERSION 2.6)<br>project(EXAMPLE)<br><br>set(CMAKE_CXX_FLAGS "-Wall")<br>add_subdirectory(Exec)<div><br>set( EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin )<br><br>The result is that the executables are all placed in /Project/build/Exec, whether Project/build/bin exists or not. Does anyone have ideas?<br>
<br>Best wishes, <br>Arvind</div></div>