CMake Support: Different target build location

Valentin Pavlyuchenko thevalik at gmail.com
Thu Jun 10 08:34:07 UTC 2010


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
>




More information about the KDevelop-devel mailing list