On Wed, Jun 03, 2009 at 01:09:09PM +0200, Steven Van Ingelgem wrote: > When I "make" it, it says: > Linking C executable ../../bin/file > > But the current binary directory is "build/externals/file", why does > it build in "../../bin"?? > > How can I know in what directory the executable is being build? I > thought this was always in "CMAKE_CURRENT_BINARY_DIR"?
Sounds like you must have overriden the default destination directory. Did you set EXECUTABLE_OUTPUT_PATH (or the related target property)? tyler _______________________________________________ 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