[CMake] Weird binary directory problem
Tyler Roscoe
tyler at cryptio.net
Wed Jun 3 11:04:48 EDT 2009
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
More information about the CMake
mailing list