CMake Support: Different target build location

Kishore kitts.mailinglists at gmail.com
Thu Jun 10 08:30:19 UTC 2010


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




More information about the KDevelop-devel mailing list