CMake Support: Different target build location

Kishore kitts.mailinglists at gmail.com
Thu Jun 10 14:26:38 UTC 2010


https://bugs.kde.org/show_bug.cgi?id=232447

On Thursday 10 Jun 2010 2:04:07 pm Valentin Pavlyuchenko wrote:
> I just had the same issue - SET_TARGET_PROPERTIES is not recognized
> and KDevelop fails to find target to execute/debug.
> 
> Best regards,
> Valentin Pavlyuchenko
> 
> 2010/6/10 Kishore <kitts.mailinglists at gmail.com>:
> > I have a situation where a target is not built in the same location as it
> > is declared using add_executable(exe ${EXE_SRCS}).
> > 
> > The build location is then changed with the following command
> > 
> > SET_TARGET_PROPERTIES(exe
> >        PROPERTIES
> >                RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
> > )
> > 
> > Unfortunately, this is not recognized by kdevelop and when i try to run
> > the executable, it says that the executable does not exist.
> > --
> > Cheers!
> > Kishore
> > 
> > --
> > KDevelop-devel mailing list
> > KDevelop-devel at kdevelop.org
> > https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel

-- 
Cheers!
Kishore




More information about the KDevelop-devel mailing list