Hi All, 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:
cmake_minimum_required(VERSION 2.6) project(EXAMPLE) set(CMAKE_CXX_FLAGS "-Wall") add_subdirectory(Exec) set( EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin ) The result is that the executables are all placed in /Project/build/Exec, whether Project/build/bin exists or not. Does anyone have ideas? Best wishes, Arvind
_______________________________________________ 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